I am working on a development that uses excel to store default data for usre on the userforms
I Hope to use ado to interogate the excel spreadsheets
I use
rsExcel.Open "Select Distinct * from [sheet1$A:A]", cnnExcel, adOpenStatic
which returns the unique values from the first column to populate a combo box
I then want to return data from column B
I can successfully populate a combo box with values but I cant do the next step
Please look @ attached files for details
Thanks for your help
Doj
P.S. Is it a good Idea to open the connection once for the project and check the state each time you use it , or is it better to open and close it each procedure


ocuments and SettingsHansMijn documentenLounge.xls;Extended Properties=Excel 8.0;"""
