enumerating combobox's list

C

cinnie

hello
What code can I use for the code below. I'm having trouble getting it
right.

For Each row in cboTest.column(1)
...
Next
 
D

Dirk Goldgar

cinnie said:
hello
What code can I use for the code below. I'm having trouble getting it
right.

For Each row in cboTest.column(1)
...
Next



Dim i As Long

For i = 0 To cboTest.ListCount - 1
Debug.Print cboTest.ItemData(i), cboTest.Column(1, i)
Next i
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top