Export Report to Excel

A

AdisRod

Hi,

I have 20 pages access report. I want export each page to
different excel sheet in the same workbook?

Thank you in advance,


Adis
 
A

Adam P

This may not be what you're looking for, but this works
for queries.

The following will append
multiple queries to one sheet in excel:

DoCmd.TransferSpreadsheet acExport,
acSpreadsheetTypeExcel9, "File name", "File path\File
name.xls"

Or, you can use this code to make multiple sheets:

DoCmd.OutputTo acOutputQuery, "File name",
acFormatXLS, "File path\File name.xls"
 

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