ClearAllFilters Method
The document is archived and information here might be outdated

PivotField.ClearAllFilters Method

Office 2007
Calling this method deletes all filters currently applied to the PivotField. This includes deleting all filters from the PivotFilters collection of the PivotField and removing any manual filtering applied to the PivotField as well. If the PivotField is in the Report Filter area, the item selected will be set to the default item.

Version Information
 Version Added:  Excel 2007

Syntax

expression.ClearAllFilters

expression   A variable that represents a PivotField object.




Show:
© 2016 Microsoft