Print ms access report to Excel

G

Guest

I have an MS Access report that I need to export to excel. What is the
syntax for doing this using vba?

I thought "transferspreadsheet" would work but i dont see anything for
selecting the report, only tables and queries.

Thanks,
Mike
 
G

Guest

Try this

docmd.OutputTo acOutputReport,"ReportName",
acFormatXLS,"LocationAndNameOfFile"
 

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