|
Question : Looping through a combo box or a list
|
|
I'm learning vba.
I have a combo box with filled items, but I need to loop through to check values. If my box is cboBox, then how do I loop through all of its values. I've looked and looked. Plenty of help on adding to a combo, but not looping through a combo box.
Thanks.
|
|
Answer : Looping through a combo box or a list
|
|
dim i as integer for i=0 to me.cmbboxname.listcount-1 debug.print me.cmbboxname.column(0,i) next i
|
|
|
|