Link to home
Start Free TrialLog in
Avatar of mr_anusorn
mr_anusorn

asked on

Export a DAO recordset to excel?

How to easily export a DAO recordset to EXCEL within a few line of code?
Avatar of AzraSound
AzraSound
Flag of United States of America image

Avatar of Éric Moreau
Use the CopyFromRecordset method.

gobjExcel.Sheets("Budget").Range("E10").CopyFromRecordset rst
ASKER CERTIFIED SOLUTION
Avatar of CraigLazar
CraigLazar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mathies
mathies

Transfert you recordset into a array.
After you can directly transfer you array into Excell