PivotField.ClearLabelFilters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This method deletes all label filters or all date filters in the PivotFilters collection of the PivotField.
public:
void ClearLabelFilters();
public void ClearLabelFilters ();
Public Sub ClearLabelFilters ()
Remarks
The following table lists the different label filter types that will be deleted by this method.
xlCaptionEquals |
xlCaptionDoesNotEqual |
xlCaptionIsGreaterThan |
xlCaptionIsGreaterThanOrEqualTo |
xlCaptionIsLessThan |
xlCaptionIsLessThanOrEqualTo |
xlCaptionBeginsWith |
xlCaptionDoesNotBeginWith |
xlCaptionEndsWith |
xlCaptionDoesNotEndWith |
xlCaptionContains |
xlCaptionDoesNotContain |
xlCaptionIsBetween |
xlCaptionIsNotBetween |
The following table lists the different date filter types that will be deleted by this method.
xlSpecificDate |
xlNotSpecificDate |
xlBefore |
xlBeforeOrEqualTo |
xlAfter |
xlAfterOrEqualTo |
xlDateBetween |
xlDateNotBetween |
xlDateToday |
xlDateYesterday |
xlDateTomorrow |
xlDateThisWeek |
xlDateLastWeek |
xlDateNextWeek |
xlDateThisMonth |
xlDateLastMonth |
xlDateNextMonth |
xlDateThisQuarter |
xlDateLastQuarter |
xlDateNextQuarter |
xlDateThisYear |
xlDateLastYear |
xlDateNextYear |
xlYearToDate |
xlAllDatesInPeriodQuarter1 |
xlAllDatesInPeriodQuarter2 |
xlAllDatesInPeriodQuarter3 |
xlAllDatesInPeriodQuarter4 |
xlAllDatesInPeriodJanuary |
xlAllDatesInPeriodFebruary |
xlAllDatesInPeriodMarch |
xlAllDatesInPeriodApril |
xlAllDatesInPeriodMay |
xlAllDatesInPeriodJune |
xlAllDatesInPeriodJuly |
xlAllDatesInPeriodAugust |
xlAllDatesInPeriodSeptember |
xlAllDatesInPeriodOctober |
xlAllDatesInPeriodNovember |
xlAllDatesInPeriodDecember |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for