Partager via


ComboBox.ListCount Property (Outlook Forms Script)

Returns a Long that represents the number of list entries in a control. Read-only.

Syntax

expression .ListCount

expression A variable that represents a ComboBox object.

Remarks

ListCount is the number of rows over which you can scroll. ListCount is always one greater than the largest value for the ListIndex property, because index numbers begin with 0 and the count of items begins with 1. If no item is selected, ListCount is 0 and ListIndex is –1.