This property returns and sets the index of the currently selected item in a ListBox or ComboBox control.
object.ListIndex [= index]
The ListIndex property is unavailable at design time.
The following expression returns the string for the currently selected item.
List(List1.ListIndex)
The first item in the list is ListIndex = 0, and ListCount is always one more than the largest ListIndex value.
For a control in which users can make multiple selections, this property's behavior depends on the number of items selected. If only one item is selected, ListIndex returns the index of that item. In a multiple selection, ListIndex returns the index of the item contained within the focus rectangle, whether or not that item is actually selected.