Remarks

Each PivotItem represents an item in a PivotTable field.

Use the or property of the object to return a PivotItemList collection.

Example

Once a PivotItemList collection is returned, you can use the method to identify a particular PivotItem list. The following example displays the PivotItem list associated with cell B5 to the user. This example assumes a PivotTable exists on the active worksheet.

Visual Basic for Applications
Sub CheckPivotItemList() ' Identify contents associated with PivotItemList. MsgBox "Contents associated with cell B5: " & _ Application.Range("B5").PivotCell.RowItems.Item(1) End Sub

See also: