CubeFields Interface

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)

[GuidAttribute("0002444D-0000-0000-C000-000000000046")]
public interface CubeFields : IEnumerable

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: