Loop through Listbox

B

Boss

Hi,

Below code passes the row number and not the value seletced... help me solve
this... Thx!

For Each var4Item In me.list10.ItemsSelected
Msgbox(var4Item)
Next var4Item
End Sub

Thanks!
Boss
 
R

RonaldoOneNil

Msgbox me.list10.Column(0,var4Item)

Change the 0 to whatever column number the text you require from the listbox
is in.
 
B

Boss

Thank you guys...

no help me small or big... because big thing was one day small... Thx!

Boss
 

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