Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TransferSpreadsheet corrupts workbook in 2003

Status
Not open for further replies.

danilof

Technical User
Dec 3, 2002
8
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top