How To Transfer Data from ADO Data Source to Excel with ADO (295646)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Data Access Components 2.0
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
- Microsoft Excel 97 for Windows
This article was previously published under Q295646 SUMMARY
Because Microsoft Excel is such a powerful data analysis tool, Visual Basic and VBA application developers often want to bring data into an Excel worksheet for analysis purposes. This article describes the ActiveX Data Objects (ADO) approach to this programming task, using Microsoft Jet-specific syntax for certain SQL commands.
This article describes programming solutions and does not describe Excel's menu-driven data import capabilities (through the Open option on the File menu) or the use of Microsoft Query (from the Get External Data option on the Data menu). For additional information about complementary programming solutions that make use of Excel Automation instead of SQL commands, click the article number below
to view the article in the Microsoft Knowledge Base:
246335 How To Transfer Data from ADO Recordset to Excel with Automation
REFERENCES
For additional information about this Jet-specific syntax, consult the Jet SQL help file (JETSQL40.chm), especially the topics on the SELECT INTO statement, the INSERT INTO statement, and the IN clause.
Modification Type: | Minor | Last Reviewed: | 8/23/2006 |
---|
Keywords: | kbDatabase kbhowto kbJET kbMDACNoSweep KB295646 |
---|
|