PivotField.ClearValueFilters Method (Excel)

Calling this method deletes all value filters in the PivotFilters collection of the PivotField.

Syntax

expression. ClearValueFilters

expression A variable that represents a PivotField object.

Remarks

The following table lists the different value filter types that will be deleted by this method.

xlBottomCount
xlTopPercent
xlBottomPercent
xlTopSum
xlBottomSum
xlValueEquals
xlValueDoesNotEqual
xlValueIsGreaterThan
xlValueIsGreaterThanOrEqualTo
xlValueIsLessThan
xlValueIsLessThanOrEqualTo
xlValueIsBetween
xlValueIsNotBetween

See also

PivotField Object