ColumnFields Property

See Also         Example         Applies To

Returns an object that represents either a single PivotTable field (a PivotField object, Syntax 1) or a collection of all the fields (a PivotFields object, Syntax 2) that are currently shown as column fields. Read-only.

Syntax 1

expression.ColumnFields(Index)

Syntax 2

expression.ColumnFields

expression   Required. An expression that returns a PivotTable object.

Index   Optional Variant. The field name or number (can be an array to specify more than one field).