Guest_imported
New member
- Jan 1, 1970
- 0
I'm trying to go through all the items in a list box and return all that are selected. I put a msgbox in there to see what it returns, and it returns only 1 selected item over and over (so if I select 10 things, the msgbox returns 1 item 10 times). Ideas?? thanks...
iteam as integer
steam as string
For iteam = 0 To lstteam.ListCount - 1
If lstteam.Selected(iteam) = True Then
steam = lstteam.Text
MsgBox (steam)
End If
Next
iteam as integer
steam as string
For iteam = 0 To lstteam.ListCount - 1
If lstteam.Selected(iteam) = True Then
steam = lstteam.Text
MsgBox (steam)
End If
Next