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

Properties.Count Property (Access)

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

Returns the number of objects in the specified collection. Read-only.

Syntax

expression. Count

expression A variable that represents a Properties object.

Remarks

Because members of a collection begin with 0, you should always code loops starting with the 0 member and ending with the value of the Count property minus 1. If you want to loop through the members of a collection without checking the Count property, you can use a For Each...Next command.

The Count property setting is never Null. If its value is 0, there are no objects in the collection.

© 2017 Microsoft