Applies To
PivotField Object, PivotItem Object.
Description
Accessor. PivotField: Returns a Range object that represents the cell (or cells) that contain the field label. PivotItem: Returns a Range object that represents all the PivotTable cells that contain the item. Read-only.
Example
This example selects the field button for the field named "ORDER_DATE."
Set pvtTable = Worksheets("Sheet1").Range("A3").PivotTable Set pvtField = pvtTable.PivotFields("ORDER_DATE") Worksheets("Sheet1").Activate pvtField.LabelRange.Select