export query in Excel

F

Florin

I'm working in Access2003 and I want export query or raport in Excel.
How can I do this, in VBA?

Thanks
 
A

Allen Browne

Use TransferSpreadsheet to export a query to an Excel spreadsheet.

To export a report, use OutputTo.

In general, exporting the query is the better solution.
 

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