PivotField.ParentItems (Excel)

Returns an pivotitem that represents either a single PivotTable item (a PivotItem) or a collection of all the items (a PivotItems collection ) that are group parents in the specified field. The specified field must be a group parent of another field. Read-only.

This property isn't available for OLAP data sources.

ParentItems (Index)

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


Dim pvtiParentItems As PivotItem
Set pvtiParentItems = ActiveCell.PivotField.ParentItems