Using Office 2007. I am trying to export some data to Excel. I would like to send to a specific worksheet but am satisfied now if I can just export the data. The simplest method that I tried is:
DoCmd.TransferSpreadsheet acExport, , "Query1", "C:\Users\Mine\Documents\TypesExamplesHints\Book1. xlsx", True
I get no error message and the excel file update time shows that it was updated when I sent the data. But, there is no data in the spreadsheet! Query1 is not blank. It does have one row of data. What am I missing? Any help much appreciated.