#'i' is an integer variable that holds the index For i = 0 To <list box name>.ListCount - 1 If <list box name>.Selected(i) = True Then Exit For Next i
#example For i = 0 To lstGuestList.ListCount - 1 If lstGuestList.Selected(i) = True Then Exit For Next i
Advertisements