PivotItem.ParentItem property (Excel)

Returns a PivotItem object that represents the parent PivotTable item in the parent PivotField object (the field must be grouped so that it has a parent). Read-only.


expression. ParentItem

expression A variable that represents a PivotItem object.


This property isn't available for OLAP data sources.


This example displays the name of the parent item for the item that contains the active cell.

MsgBox "This item is a subitem of " & _ 

See also

PivotItem Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.