XL2000: How to Use ADO to Return Data to a ListBox or ComboBox (244761)
The information in this article applies to:
This article was previously published under Q244761 SUMMARY In Microsoft Excel, you can use the ActiveX Data Objects
(ADO) library in a Visual Basic for Applications macro to work with a SQL
database. This article contains a sample macro that returns the results of your
query to a ComboBox control or a ListBox control in a Microsoft Excel workbook or user form.
REFERENCESMicrosoft Office 2000 Visual Basic Programmer's Guide, Chapter 14. "Working with the Data Access Components of an
Office Solution."
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto KB244761 |
---|
|