Based on all the treads in the Forum in ref to the OutputTo command this line should work, but it doesn't.
I have the following code in a command button under the click Event:
Docmd.OutputTo acOutputQuery, "NameOfQuery", acFormatXLS, "C:\Path To Document", True
When I click the command button it opens the spreadsheet (Excel 97) , but the data was not exported.
Any suggestions?
Maritza
I have the following code in a command button under the click Event:
Docmd.OutputTo acOutputQuery, "NameOfQuery", acFormatXLS, "C:\Path To Document", True
When I click the command button it opens the spreadsheet (Excel 97) , but the data was not exported.
Any suggestions?
Maritza