PivotField.ParentField (Excel)

Returns a PivotField object that represents the PivotTable field that's the group parent of the specified object. The field must be grouped and must have a parent field.


Dim pvtfParentField As PivotField
Set pvtfParentField = ActiveCell.PivotField.ParentField