Export like a Save As

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

I would like to use the "DoCmd.TransferSpreadsheet
acExport" for exporting a Query but emulating a Save As.
This is: when clinking on the export button, a form will
pop up allowing the user to navigate into his or her own
hard drive to identify the destination of the excel file
and then enter its name. Especially I am interested that
the PopUp form allows the user to navigate into his or her
hard drive without having to type manually the file path.

Thank you very much,

Marc
 
Marc said:
I would like to use the "DoCmd.TransferSpreadsheet
acExport" for exporting a Query but emulating a Save As.
This is: when clinking on the export button, a form will
pop up allowing the user to navigate into his or her own
hard drive to identify the destination of the excel file
and then enter its name. Especially I am interested that
the PopUp form allows the user to navigate into his or her
hard drive without having to type manually the file path.

You can adapt the code at:

www.mvps.org/access/api/api0001.htm

to display the Windows File Save dialog.
 

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

Back
Top