Count Property

Count Property

         Example         Applies To

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

For information about using the Count worksheet function in Visual Basic, see Using Worksheet Functions in Visual Basic.

Remarks

For OLAP data sources, only the visible fields in a PivotTable report are counted.