Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
I've tried a ridiculous assortment of statements and nothing is working.
As far as I can tell from VBA's help it should just be:
In fact, I shouldn't even need to put the "Item" on there, because the default method for all collections is "Item".
But it's not working.
As far as I can tell from VBA's help it should just be:
Code:
For Each Pvt in ActiveSheet.PivotTables("Name").PivotFields("Name").Item
MsgBox Pvt
Next
In fact, I shouldn't even need to put the "Item" on there, because the default method for all collections is "Item".
But it's not working.
Last edited: