Pivot Field Show All Except Blank

前端 未结 1 1234
长发绾君心
长发绾君心 2021-01-21 07:31

I need to update a pivot filter after refresh to select all filter options except blank.
Other answers here make use of .ShowAllItems method which

相关标签:
1条回答
  • 2021-01-21 08:02

    When I have to do this, I just use something like:

    On Error Resume Next
    With pvt
            .ClearAllFilters
            .PivotItems("(blank)").Visible = False
    End With
    
    0 讨论(0)
提交回复
热议问题