Hi Everyone,
Im trying to find easy solution on how to select all Pivot items. Things is that my data base is updated with new entries very often so i need to refresh pivot and then open filters and click on "select all" each time, and then un-check "blanks"
What i have now is :
Im not sure what is the proper command to be used instead of this "select all" ?
Im trying to find easy solution on how to select all Pivot items. Things is that my data base is updated with new entries very often so i need to refresh pivot and then open filters and click on "select all" each time, and then un-check "blanks"
What i have now is :
Code:
Sub Pivot_upd()
'
' Pivot_upd Macro
'
'
Sheets("Pivot").Select
ActiveSheet.PivotTables("PivotTable2").PivotCache.Refresh
With ActiveSheet.PivotTables("PivotTable2").PivotFields("Mfg. Part #")
.PivotItems([B]"(Select ALL)"[/B]).Visible = True
.PivotItems("(blank)").Visible = False
End With
End Sub
Im not sure what is the proper command to be used instead of this "select all" ?