List Index property is used to determine the array subscript. List Index property holds the position or index of the selected item in the list. We could then use this index with one minor change to access the group total. List index property always begins with 0.
VB offers another handy property for list boxes and combo boxes that can be a big help when working with indexes. The ItemData property can associate a specific number with each item in the list. Each element of the list property can have corresponding Item Data that does not change the list is sorted.