The ColumnCount property returns the number of columns for which statistics are stored. Returns a long. This is a read-only property.
Syntax
object.ColumnCount
Example
This example demonstrates how to return the number of columns within a range.
Debug.Print WksRange.ColumnCount
Used by: WksRange object, WksStatistics object