I have a utility that has been converted from '97 to 2003 and now, exporting a table to a new spreadsheet in an existing workbook corrupts both the content & format of the original (1) spreadsheet in the workbook and itself (the new one).
DoCmd.TransferSpreadsheet acExport, 8, "tbl" & strLCN & "Updated", strFileName & "Updated"
("tbl" & strLCN & "Updated" is a table name and strFileName is the path/name of the workbook.
I could put it in a new workbook, but that's messy and I want them together, as I say - it used to work in '97 and the syntax seems the same for 2003.
Any help would be appreciated.
DoCmd.TransferSpreadsheet acExport, 8, "tbl" & strLCN & "Updated", strFileName & "Updated"
("tbl" & strLCN & "Updated" is a table name and strFileName is the path/name of the workbook.
I could put it in a new workbook, but that's messy and I want them together, as I say - it used to work in '97 and the syntax seems the same for 2003.
Any help would be appreciated.