PivotField.EnableItemSelection Property
Excel Developer Reference |
When set to False, disables the ability to use the field dropdown in the user interface. The default value is True. Read/write Boolean.
Syntax
expression.EnableItemSelection
expression A variable that represents a PivotField object.
Remarks
A run-time error will occur if the OLAP PivotTable field is not the highest level for the hierarchy.
Example
This example determines the setting for selecting items using the field dropdown and enables the feature, if necessary. The example assumes a PivotTable exists on the active worksheet.
Visual Basic for Applications |
---|
|
See Also