Try something like:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "Table1", "C:\Temp\Test.xls", True
to create the workbook with a worksheet called "Table1", then:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel8, "Table2"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.