I am attempting ot use the TranferSpreadsheet method of transfering a table to an excel spreadsheet but I am a little bit confused...
I would like to place the contents of my table into a seperate worksheet.
I would like to name the worksheet by the data within the Assembly field of my table (which is the same for all records in that table)
My Table consists of 4 fields:
==============================
Assembly - text
Item - text
Description - text
Quantity - number
===============================
I am using the following command:
--------------------------------------------
DoCmd.TranferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ strTemp, "C:\FolderName\" & strFileName & ".xls"
--------------------------------------------
Where strTemp = the name of my table.
How do I specify a new worksheet and the name of that worksheet to match the value of Assembly in my table?
Thanks
I would like to place the contents of my table into a seperate worksheet.
I would like to name the worksheet by the data within the Assembly field of my table (which is the same for all records in that table)
My Table consists of 4 fields:
==============================
Assembly - text
Item - text
Description - text
Quantity - number
===============================
I am using the following command:
--------------------------------------------
DoCmd.TranferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ strTemp, "C:\FolderName\" & strFileName & ".xls"
--------------------------------------------
Where strTemp = the name of my table.
How do I specify a new worksheet and the name of that worksheet to match the value of Assembly in my table?
Thanks