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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top