共用方式為


PivotTable.AllowMultipleFilters Property (Excel)

Sets or retrieves a value that indicates whether a PivotField can have multiple filters applied to it at the same time. Read/write Boolean.

Version Information

Version Added: Excel 2007

Syntax

expression .AllowMultipleFilters

expression A variable that represents a PivotTable object.

Remarks

Default value is False.

When this property is set to True, multiple filters can be applied to single PivotFields. 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.

請參閱

概念

PivotTable Object

PivotTable Object Members