G
Guest
Is is possible to export to excel using a SQL statement instead of a query?
I need to be able to filter or apply a WHERE condition to the query before
the export.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "MyQuery",
"C:\Test\" & Me.cboBox & ".xls"
Any suggestions?
Thanks,
Bob
I need to be able to filter or apply a WHERE condition to the query before
the export.
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "MyQuery",
"C:\Test\" & Me.cboBox & ".xls"
Any suggestions?
Thanks,
Bob