J
Jan T.
Using Access 2007 and Excel 2007.
I want to export a query to an Excel spreadsheet. This is easy to do
manually
in Access 2007 by right click on the query and chose Export to Excel.
A wizard
then pops up and I have to give it a file path where to save the file
and file format.
I also choose Export with formats ... and so on and Open file after
exporting...
My query appears in a new workbook. Very easy.
However I want to do this from an Access form with a click of a
button.
Somebody knows how to write this vba code?
Appriciate your help.
Jan
I want to export a query to an Excel spreadsheet. This is easy to do
manually
in Access 2007 by right click on the query and chose Export to Excel.
A wizard
then pops up and I have to give it a file path where to save the file
and file format.
I also choose Export with formats ... and so on and Open file after
exporting...
My query appears in a new workbook. Very easy.
However I want to do this from an Access form with a click of a
button.
Somebody knows how to write this vba code?
Appriciate your help.
Jan