PivotTable.ColumnFields (Excel)

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

ColumnFields (Index)

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


Dim pvtfColumnFields As PivotField
Set pvtfColumnFields = ActiveCell.PivotTable.ColumnFields