walk thru combo box data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am new to vba.
I have loaded a combo box with fields names from a selected table.
How do I walk thru the combo box looking for a particular field and
comparing it to a string variable.



Thanks for any help in this manner.
Dan
 
Alex,
thanks for the quick response.

I tried the following code and it blows up because of the itemdata.
What am I doing wrong. All I want is the name that is displayed in the
combobox.
It is a 1 column control.
for count = 0 to cboControl.listcount
debug.print cboControl.itemdata
next count
Again, thanks for your help.
dan
 
Back
Top