HOWTO: Use MFC to Copy a DAO Recordset to Excel with Automation (243394)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
This article was previously published under Q243394 SUMMARY Microsoft Excel exposes the CopyFromRecordset method for a
Range object to copy the contents of a Data Access Objects (DAO) Recordset onto
a worksheet. This article demonstrates how you can use MFC DAO to build a
recordset that you can then copy to an Excel worksheet using automation.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbAutomation kbhowto KB243394 |
---|
|