TransferSpreadsheet issue (Save As)

ivan_fuzz

Board Regular
Joined
Jan 7, 2005
Messages
63
Currently I use 'OutputTo' to export out queries to Excel, but I seem to have hit a row limitaion because this one query has 25K rows and Access won't export it. (Error: There are too many rows to output, based on the limitation specified by the output format or by Microsoft Access).

Now, within my macro, the 'Output Format' section lists the basic Microsoft Excel (*.xls), which I want, but when I select it, Access changes it to Microsoft Excel 5-7 (*.xls). I think this is what's causing the problem but I don't know how to get around it.

So now I'm thinking of using the TransferSpreadsheet instead, but the users of this need to be able to save these queries to different locations so....Is there a way to have transferspreadsheet pull a 'save as' window instead of just saving it to the same location everytime?

Thanks.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I think you may have better luck posting this question in the Access forum.
 
Upvote 0
The office library offers the FILEDIALOG object. Take a look at that in the Access VBE/Object Browser & help. You can use that to have the user return a file name to use for the export.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,558
Latest member
aivin

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