In Access, use the TransferSpreadsheet method to send the data, either
by creating a macro, or writing some code. You can name a range in the
worksheet, and paste there. In this example, Sheet2!A1 is named "PasteHere":
'======================
Sub SendTableToExcel()
DoCmd.TransferSpreadsheet acExport, _
acSpreadsheetTypeExcel9, "tblCustomers", _
"c:\Data\MyExcelFile.xls", True, "PasteHere"
End Sub
'===========================
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.