Método PivotField.ClearLabelFilters (Excel)

Esse método exclui todos os filtros de rótulo ou todos os filtros de data na coleção PivotFilters do PivotField.

Sintaxe

expressão. ClearLabelFilters

Expressão Uma variável que representa um objeto PivotField .

Comentários

A lista a seguir contém os diferentes tipos de filtro de rótulo que serão excluídos por este método:

  • xlCaptionEquals
  • xlCaptionDoesNotEqual
  • xlCaptionIsGreaterThan
  • xlCaptionIsGreaterThanOrEqualTo
  • xlCaptionIsLessThan
  • xlCaptionIsLessThanOrEqualTo
  • xlCaptionBeginsWith
  • xlCaptionDoesNotBeginWith
  • xlCaptionEndsWith
  • xlCaptionDoesNotEndWith
  • xlCaptionContains
  • xlCaptionDoesNotContain
  • xlCaptionIsBetween
  • xlCaptionIsNotBetween

A lista a seguir contém os diferentes tipos de filtro de data que serão excluídos por este método:

  • 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

Suporte e comentários

Tem dúvidas ou quer enviar comentários sobre o VBA para Office ou sobre esta documentação? Confira Suporte e comentários sobre o VBA para Office a fim de obter orientação sobre as maneiras pelas quais você pode receber suporte e fornecer comentários.