PivotField Object
| Excel Developer Reference |
Remarks
The PivotField object is a member of the PivotFields collection. The PivotFields collection contains all the fields in a PivotTable report, including hidden fields.
In some cases, it may be easier to use one of the properties that returns a subset of the PivotTable fields. The following properties are available:
- ColumnFields property
- DataFields property
- HiddenFields property
- PageFields property
- RowFields property
- VisibleFields property
Example
Use PivotFields(
| Visual Basic for Applications |
|---|
|