PivotTable.RowFields (Excel)

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

RowFields (Index)

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


Dim pvtfRowFields As PivotField
Set pvtfRowFields = ActiveCell.PivotTable.RowFields