W
WSF
Access 97
I am able to create a spreadsheet using
DoCmd.OutputTo acTable, "tblPartsUsed4Period", "MicrosoftExcel(*.xls)",
FilePath & FileName, False, ""
where Filepath and FileName are dynamic references created each time the
data is pulled.
This works fine.
I then try to export into that spreadsheet a subset of data as a separate
worksheet, using
DoCmd.TransferSpreadsheet acExport,5, "tblPartsRequired", FilePath &
FileName
I get the error message "3274 - External table isn't the expected format."
The original spreadsheet, when opened, reports as SaveAs "Excel5.0/95".
Ant help gratefully appreciated.
WSF
I am able to create a spreadsheet using
DoCmd.OutputTo acTable, "tblPartsUsed4Period", "MicrosoftExcel(*.xls)",
FilePath & FileName, False, ""
where Filepath and FileName are dynamic references created each time the
data is pulled.
This works fine.
I then try to export into that spreadsheet a subset of data as a separate
worksheet, using
DoCmd.TransferSpreadsheet acExport,5, "tblPartsRequired", FilePath &
FileName
I get the error message "3274 - External table isn't the expected format."
The original spreadsheet, when opened, reports as SaveAs "Excel5.0/95".
Ant help gratefully appreciated.
WSF