iterate an unbound listbox

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

Guest

Hello,
i would like to iterate on each row of an unbound listbox to retrieve values
for each of its columns.
Is that possible without having to select item by item?

Thanks
Rocco
 
rocco said:
i would like to iterate on each row of an unbound listbox to retrieve values
for each of its columns.
Is that possible without having to select item by item?


Check the Column proeprty in Help.

With Me.comboboxname
For J = 0 To .ListCount - 1
For K = 0 To .ColumnCount - 1
Debug.Print .Column(K.J)
Next K
Next J
End With
 

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

Back
Top