CubeField.PivotFields Property
Excel Developer Reference |
Returns the PivotFields collection. This collection contains all PivotTable fields, including those that aren’t currently visible on-screen. Read-only PivotFields object.
Syntax
expression.PivotFields
expression An expression that returns a CubeField object.
Return Value
PivotFields
Remarks
For Online Analytical Processing (OLAP) data sources, there are no hidden fields, and the object or collection that’s returned reflects what’s currently visible.
Example
This example creates a list of all the PivotTable field names used in the first PivotChart report.
Visual Basic for Applications |
---|
|
See Also