Home > Access, Error messages > Access Export to Excel (2007)

Access Export to Excel (2007)

When I tried to export a table/query from Access 2007 to Excel 2007, I was getting this annoying error:

You selected more records than can be copied onto the Clipboard at one time. Divide the records into two or more groups, and then copy and paste one group at a time. The maximum number of records you can paste at one time is approximately 65,000.

Access 2007 Export to Excel Error

Access 2007 Export to Excel Error

I was unable to understand the reason, because I thought Excel 2007 did not limit number of rows to 65,536. It turns out however that it is the clipboard limitation.

Solution: If you check off the “export data with formatting and layout” option, Access exports successfully.

You can export successfully using Transferspreadsheet (VBA) option too.

Here is the KB from MS.

Solution Update:Thanks to Brett, it looks like that only if you export table/query using right click > Export and have the checkbox cleared, then Access will export succesfully. That is what I always do, and it works for me. I have never tried External data option for exporting.

Categories: Access, Error messages Tags: , ,
  1. Diana Hargus
    May 13th, 2009 at 10:12 | #1

    Actually, this is incorrect. The solution provided by M$ is pure rubbish and does not resolve the issue. Don’t believe me? I can show a total of 8 databases I tried to export this morning alone and not one of them would export. The issue is not within office but rather in the clipboard by the looks of things

  2. a7n9
    May 13th, 2009 at 10:41 | #2

    Diana, thanks for your comment. I am rather surprised that it didn’t work for you. I had to scratch my head for long when I could not export big tables, but checking that option off worked for me. Can I know the details of the table? If you are exporting about eight tables, you should try and write a VBA procedure to export all the tables in your db to Excel files.

  3. Brett Gustafson
    June 22nd, 2009 at 16:05 | #3

    Oddly enough, I’ve found that if you go to the External Data -> Export -> Excel that you will experience Diana’s issue. However, If you right click on your table/query and then go to Export -> Excel, it will work if you have the formatting checkbox off.

  4. a7n9
    June 23rd, 2009 at 08:18 | #4

    Thanks for your comment, Brett. Hmm.. now that is something. I have always exported using right click on the table/query, and that is why checking off worked for me. Let me update my post with your solution. Thanks!

  1. No trackbacks yet.