Partager via


PivotField.ClearAllFilters Method

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.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub ClearAllFilters
'Usage
Dim instance As PivotField

instance.ClearAllFilters()
void ClearAllFilters()

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace