CubeField.CubeFieldType Property
Indicates whether the OLAP cube field is a hierarchy field or a measure field. Can be one of the XlCubeFieldType constants.
Syntax
expression.CubeFieldType
expression A variable that represents a CubeField object.
Example
This example creates a list of cube field names for the measure fields in the first OLAP -based PivotTable report on Sheet1.
| Visual Basic for Applications |
|---|
|