PDA

View Full Version : Index: Combobox[I].Text?


rmolenaar
Jun 5, 2008, 12:57 PM
Hello,

I want to use a for.. next-loop to scan several items (e.g. Text/ Color) of a few comboboxes. To make the program efficient, I need something like an index register.
Is it possible to approach any item of an comboxbox by index register?

Greetings Roy

melondotnet
Jun 22, 2008, 05:38 AM
Yes, each value is an item.

For I = 1 To 10

tValue = ComboBox1.Item(I - 1) ' Ithink Items are numbered 0,1,2,3 not 1,2,3,4

Next

Note: If I am on the wrong end of the stick, please say.