Table of contents
Collapse the table of content
Expand the table of content

ListCount Property

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns the number of list entries in a control. Syntaxobject. ListCount The ListCount property syntax has these parts:

objectRequired. A valid object.

Remarks The ListCount property is read-only. ListCount is the number of rows over which you can scroll. ListRows is the maximum to display at once. 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.

© 2018 Microsoft