Surjer
Registered User.
- Local time
- Today, 21:52
- Joined
- Sep 17, 2001
- Messages
- 232
Hello all,
Does anyone know where I can find some info on (Or is it possible to) create an excel workbook with specific worksheets?
DoCmd.RunSQL ("SELECT GPS_Antennas.* INTO tmptable FROM GPS_Antennas WHERE Assigned_Location = " & Chr(34) & office & Chr(34))
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "TMPTABLE", "c:\book1.xls", True
DoCmd.DeleteObject acTable, "TMPTABLE"
I want to create multiple worksheets for each type of equipment we have..
GPS antenna's is one of them...
I want a separate sheet for each type..
Is this possible??
Jerry
Does anyone know where I can find some info on (Or is it possible to) create an excel workbook with specific worksheets?
DoCmd.RunSQL ("SELECT GPS_Antennas.* INTO tmptable FROM GPS_Antennas WHERE Assigned_Location = " & Chr(34) & office & Chr(34))
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "TMPTABLE", "c:\book1.xls", True
DoCmd.DeleteObject acTable, "TMPTABLE"
I want to create multiple worksheets for each type of equipment we have..
GPS antenna's is one of them...
I want a separate sheet for each type..
Is this possible??
Jerry