Hi,
I want to export to XLS a query and I want the user to have the option to chose where and what to save the file as.
According to :
FileName is 'optional' and I assumed that omitting it, means you get some sort of file dialog GUI to manage the filename and path.
However, when I use
I get an error
What error can't I see?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
I want to export to XLS a query and I want the user to have the option to chose where and what to save the file as.
According to :
FileName is 'optional' and I assumed that omitting it, means you get some sort of file dialog GUI to manage the filename and path.
However, when I use
Code:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "myQueryNamne"
I get an error
Colour me confused, because the docs say it is optional?The action or method requires a File Name argument
What error can't I see?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music