Muokkaa

Jaa


PivotTable.ClearAllFilters method (Excel)

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

Syntax

expression.ClearAllFilters

expression A variable that represents a PivotTable object.

Remarks

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.