I am trying to establish the value/string of a number of ListBox items by looping through them.
.Text and .Value don't seem to twork to return the value of the item in the ListBox
Thanks
Code:
intCount = 1
Do Until intCount > lb_Crew.ListCount
If lb_Crew.ListIndex(intCount).Text = "Required value/string" Then
'Do something
Else
'Do something else
End If
intCount = intCount + 1
Loop
Thanks