G
Guest
Hello!
I wish to export a query to excel via "TransferSpreadsheet":
DoCmd.TransferSpreadsheet acExport, 8, "Queryname", "H:
\Office2000\Access\Test2.xls", True, "
With this code I could only export tables, not queries. The error message
says it can't find any objects with the name "Queryname". Can anyone tell me
how to modify the code in order to search for queries?
Thanks!!
I wish to export a query to excel via "TransferSpreadsheet":
DoCmd.TransferSpreadsheet acExport, 8, "Queryname", "H:
\Office2000\Access\Test2.xls", True, "
With this code I could only export tables, not queries. The error message
says it can't find any objects with the name "Queryname". Can anyone tell me
how to modify the code in order to search for queries?
Thanks!!