Cann anyone tell me the difference between these two lines of code?
DoCmd.OutputTo acOutputTable, "dbo.tblTempExport", acFormatXLS, filename, False
DoCmd.TransferSpreadsheet acExport, SpreadsheetTypeExcel9, "dbo.tblTempExport", filename
I couldn't get TransferSpreadsheet to work correctly, and switched to OutputTo after seing someone using it on google, but would like to know what the difference is between them.
Thanks!
Jason