View Full Version : Export entire contents of the report to Excel


N_NAGESH
05-04-2007, 12:56 AM
Hi,

I have a report generated through a query.
Further to this, the report has text fields having calculations within the report.

I want to know how to export the entire contents of the report to MS Excel.

I have tried :;
DoCmd.OutputTo acOutputReport, "<report name>", acFormatXLS, , -1
However, I am not getting the all the contents in the report. Especially the contents in the 'report footer'.

Can anyone help me in this regard?

Thanks in advance

Nagesh

llkhoutx
05-05-2007, 06:53 PM
Reports aren't exported to Excel, tables or select queries are. Format the Excel workbook in Access using VBA or manually or with Personal.xls macros in excel.