Access Report to Excel

D

Douglas J. Steele

See whether the OutputTo method does what you want. For a report, it would
be something like:

DoCmd.OutputTo acOutputReport, "MyReportName", acFormatXLS, "C:\My
Documents\Report.xls"
 
N

njwqx@comcast

Doug or any other Access MVP:

I know how to export Access table/query to Excel workbook
by using either (1) "DoCmd.OutputTo,,..." or
(2) "DoCmd.TransferspreadSheet, ...", but don't what's the
difference of those 2 methods. Are they exactly the same?

I can write code to export 2 tables (or queries) from an
Access mdb file to 2 Excel workbooks, but can't export
them to a same Excel workbook. Is there any way to do so?

Weiqin Xie
 

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