Share via


PivotTable.ClearAllFilters Method

Excel Developer Reference

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

Syntax

expression.ClearAllFilters

expression   A variable that represents a PivotTable object.

Remarks

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

See Also