Glowworm27
Programmer
I want to iterate through the text in a comboBox.
is it possible to iterate through the combobox text with something like this
Dim tmpString as String
or do I have to loop though the combobox using the ListCount ?
Thanks
![[cannon] [cannon] [cannon]](/data/assets/smilies/cannon.gif)
George Oakes
Goakes@TiresPlus.com = Programmer
George@1-Specialday.com = Mobile DJ
Check out this awsome .Net Resource!
is it possible to iterate through the combobox text with something like this
Dim tmpString as String
Code:
For Each tmpString in ComboBox1.list
if tmpString = "Something" then
msgbox "found the item"
End if
Next
or do I have to loop though the combobox using the ListCount ?
Thanks
![[cannon] [cannon] [cannon]](/data/assets/smilies/cannon.gif)
George Oakes
Goakes@TiresPlus.com = Programmer
George@1-Specialday.com = Mobile DJ
Check out this awsome .Net Resource!