Count Property [WksStatistics]

Count returns the number of data values in the column from which the statistics were calculated. Returns a variant. This is a read-only property.

Syntax

object.Count( Col )

Parameter

Type

Description

Col

Long

optional, default=1

Remarks

1 equals column A.

Example

This example demonstrates how to return the number of data values in column C from which the statistics were created.

Debug.Print "Number of Values "; Stats.Count(3)

Used by: WksStatistics object