Represents a hierarchy or measure field from an OLAP cube. In a PivotTable report, the CubeField object is a member of the CubeFields collection.

Methods

Name Description
Adds a member property field to the display for the cube field.
The description for this item will appear in the final release of Office.
The description for this item will appear in the final release of Office.
Deletes the object.

Properties

Name Description
Read-only
When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.
Returns a String value that represents the label text for the cube field.
Read-only
Indicates whether the OLAP cube field is a hierarchy field or a measure field. Can be one of the XlCubeFieldType constants.
Read/write
True if the specified field can be dragged to the column position. The default value is True. Read/write Boolean.
True if the specified field can be dragged to the data position. The default value is True. Read/write Boolean
True if the field can be hidden by being dragged off the PivotTable report. The default value is True. Read/write Boolean.
True if the field can be dragged to the page position. The default value is True. Read/write Boolean.
True if the field can be dragged to the row position. The default value is True. Read/write Boolean.
Read/write
Returns True when there are member properties specified to be displayed for the cube field. Read-only Boolean.
Read/write
Read-only
Returns or sets the way the specified PivotTable items appear-in table format or in outline format. Read/write XlLayoutFormType.
Returns or sets the position of the PivotTable field subtotals in relation to (either above or below) the specified field. Read/write XlSubtototalLocationType.
Returns a String value that represents the name of the object.
Returns or sets a XlPivotFieldOrientation value that represents the location of the field in the specified PivotTable report.
Returns the parent object for the specified object. Read-only.
Returns the PivotFields collection. This collection contains all PivotTable fields, including those that aren't currently visible on-screen. Read-only PivotFields object.
Returns or sets a Long value that represents the position of the hierarchy field on the PivotTable report when it's dragged from the field well.
When set to True (default), a CubeField object will be shown in the field list. Read/write Boolean.
Returns the TreeviewControl object of the CubeField object, representing the cube manipulation control of an OLAP-based PivotTable report. Read-only.
Returns a String value that represents the name of the specified field.