You really don't want to loop through a recordset to populate cells in Excel. Even the Cells() method alone is slow and on top of that looping through a recordset is also slow.
If you want to export the report (with the layout and formatting) then you need to use the methods explained in my last post. However, if you want to export just the raw values then use Excel's CopyFromRecordset method or Access' TransferSpreadsheet method.
If you need to export calculated fields in the report, perform the calculation in a query and export the query using one of the methods described previously.
If you want to export the report (with the layout and formatting) then you need to use the methods explained in my last post. However, if you want to export just the raw values then use Excel's CopyFromRecordset method or Access' TransferSpreadsheet method.
If you need to export calculated fields in the report, perform the calculation in a query and export the query using one of the methods described previously.