Export To Excel Is In Version 5.00 Format Not 97

kevsim

Registered User.
Local time
Tomorrow, 04:02
Joined
Aug 10, 2002
Messages
34
Using the code below, I transfer a Query to Excel, except it is in Excel 5.0 format, How can I change this for output of Excel 97 or 2000.
I would appreciate any assistance.

DoCmd.OutputTo acQuery, "Q_FinalData", "MicrosoftExcel(*.xls)", "C:\My Documents\WagesTemplate.xls", True
Kevsim
 
Try:

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qryName",FilePath
 

Users who are viewing this thread

Back
Top Bottom