PivotTable.AllowMultipleFilters Property
Sets or retrieves a value that indicates whether a PivotField can have multiple filters applied to it at the same time. Read/write.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Property AllowMultipleFilters As Boolean
Get
Set
'Usage
Dim instance As PivotTable
Dim value As Boolean
value = instance.AllowMultipleFilters
instance.AllowMultipleFilters = value
bool AllowMultipleFilters { get; set; }
Property Value
Type: System.Boolean
Boolean
Remarks
Default value is False.
When this property is set to True, multiple filters can be applied to a single PivotField. When it is set to False, applying a filter to a PivotField that is already filtered will remove the existing filter and apply the new one. Setting this property to False when the PivotTable has fields with more than one filter applied will silently remove all filters in the PivotTable without displaying any alert. However, there is an alert when this is done through the user interface.