danomaniac
Programmer
Greetings Everyone!
I've got a pivot table that shows the open Purchase Orders and Order Quantities of about 800 different Part numbers. I want it to just display the part number the user picks, but initially all part numbers are visible. Short of having to manually uncheck everyone, I'd like to do it through VBA (or if there's a wildcard I'm missing somewhere).
I'm trying something like this, and I know it's not right, but I'm not sure what I'm missing...
For Each PivotItem In ActiveSheet.PivotTables("PivotTable1".PivotFields("Material"
.Visible = False
Next
Thanks for any help.
I've got a pivot table that shows the open Purchase Orders and Order Quantities of about 800 different Part numbers. I want it to just display the part number the user picks, but initially all part numbers are visible. Short of having to manually uncheck everyone, I'd like to do it through VBA (or if there's a wildcard I'm missing somewhere).
I'm trying something like this, and I know it's not right, but I'm not sure what I'm missing...
For Each PivotItem In ActiveSheet.PivotTables("PivotTable1".PivotFields("Material"
.Visible = False
Next
Thanks for any help.