Export to Excel: user defined location?

F

faberk

I searched here for an answer, but did not see anything posted.

I wish to transport the results of a query to ms excel to a location defined
by the user. I would like a dialogue box to be displayed, that asks the user
where they wish to store the file and the file name, similar to the standard
windows style. Im using the following code. How do i modify it to
accomodate this?

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"qryTransfer", "c:\transfer.xls"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top