Share via


PivotField.EnableItemSelection Property

When set to False, disables the ability to use the field dropdown in the user interface. The default value is True. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property EnableItemSelection As Boolean
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As Boolean

value = instance.EnableItemSelection

instance.EnableItemSelection = value
bool EnableItemSelection { get; set; }

Property Value

Type: System.Boolean

Remarks

A run-time error will occur if the OLAP PivotTable field is not the highest level for the hierarchy.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace