CubeFields interface
Office 2013 and later
A collection of all CubeField objects in a PivotTable report that is based on an OLAP cube.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Each CubeField object represents a hierarchy or measure field from the cube.
Use the CubeFields property to return the CubeFields collection.
Use CubeFields(index), where index is the cube field’s index number, to return a single CubeField object.
Show: