Returns the number of items in the list portion of a control.
Syntax
object.ListCount
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Remarks
ListCount provides specific information for each control:
If no item is selected, the ListIndex property value is –1. The first item in the list is ListIndex = 0, and ListCount is always one more than the largest ListIndex value.