J
Jeff Schneider
I'm trying to use using the following code to export data to an existing
spreadsheet:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"qryAccountCrosstab", _
"C:\Documents and Settings\jeff\Desktop\AccountExport.xls", ,
"Accounts"
When I run the code, it exports the data, but it creates a 2nd tab in Excel
called "Accounts1". Obviously, Access is finding the "Accounts" tab, but why
doesn't it use it? I've tried using different tab names, and every change
results in the same thing... it creates a new tab using the existing tab name
+ "1".
Is this a feature or bug?
spreadsheet:
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"qryAccountCrosstab", _
"C:\Documents and Settings\jeff\Desktop\AccountExport.xls", ,
"Accounts"
When I run the code, it exports the data, but it creates a 2nd tab in Excel
called "Accounts1". Obviously, Access is finding the "Accounts" tab, but why
doesn't it use it? I've tried using different tab names, and every change
results in the same thing... it creates a new tab using the existing tab name
+ "1".
Is this a feature or bug?