Export Using ExportSpreadsheet

  • Thread starter WilliamJ via AccessMonster.com
  • Start date
W

WilliamJ via AccessMonster.com

When I try exporting crosstab query results to a workbook and specifically a
tab or sheet in that workbook, Access creates a new tab everytime. I want to
replace the existing data in the tab or sheet with the new query results. Is
their a way to always drop the results into the same tab or sheet?

Here is my DoCmd statement

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel3, "DataForExport",
"S:\Data\TestData", , "Sheet2"
 
Top