This documentation is archived and is not being maintained.

PivotTable.ClearAllFilters Method

Office 2007
The ClearAllFilters method deletes all filters currently applied to the PivotTable. This includes deleting all filters in the PivotFilters collection of the PivotTable object, removing any manual filtering applied and setting all PivotFields in the Report Filter area to the default item.

Version Information
 Version Added:  Excel 2007



expression   A variable that represents a PivotTable object.


After calling the ClearAllFilters method, the PivotFilters collection will be empty.