using transferspreadsheet to export query result from Access 2003 to Excel 2010

rickross99

New Member
Joined
Sep 4, 2014
Messages
2
I'm using access 2003 and the Export function cuts off at 65,000 rows when i export my query results to excel. I was reading that
DoCmd
.TransferSpreadsheet doesn't have this limitation. Can someone help me with a macro example that uses this function in Access?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Welcome to the Board!

I was reading that DoCmd.TransferSpreadsheet doesn't have this limitation.
I think that depends upon which version of Access you are using. If you read something that suggests otherwise, please post that link here.

I believe that the issue is that Access 2003 only has the ability to export to Excel files with a ".xls" extension, and not the new ".xlsx" extension introduced in Excel 2007. And Excel files with the ".xls" extension only allow to export up to 65,536 rows.

Here are a few options/workarounds (there are others):
1. Upgrading Microsoft Office to 2007 or newer to take advantage of this new option.
2. Exporting the file to a text file, where that text file can now be imported into Excel.
 
Upvote 0
Welcome to the Board!


Here are a few options/workarounds (there are others):
1. Upgrading Microsoft Office to 2007 or newer to take advantage of this new option.
2. Exporting the file to a text file, where that text file can now be imported into Excel.

thank you! We upgraded to 2010 and it works now and I used the exporting to text file as a workaround in the meantime. :)
 
Upvote 0
Your welcome! Glad you got it all sorted out!:)
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,771
Members
448,991
Latest member
Hanakoro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top