Stripester
Technical User
Hello I'm looking for some help with the following!
Please go slow if you know of a way to help me - I'm new to all this!
I've recorded a macro to try and automate a task.
Part of the task included 'Checking (Show All) in one of my Pivot table fields, but when I came to look at the code it listed all the items instead of just .PivotItems("(Show All)"
.Visible = True
ie
.PivotItems("01"
.Visible = True
.PivotItems("02"
.Visible = True
etc.
The trouble with this is that I wanted this code to work in different workbook and "01" and "02" might not be in these other workbooks.
Is there a solution?
Stripe!![[beaver] [beaver] [beaver]](/data/assets/smilies/beaver.gif)
Please go slow if you know of a way to help me - I'm new to all this!
I've recorded a macro to try and automate a task.
Part of the task included 'Checking (Show All) in one of my Pivot table fields, but when I came to look at the code it listed all the items instead of just .PivotItems("(Show All)"
ie
.PivotItems("01"
.PivotItems("02"
etc.
The trouble with this is that I wanted this code to work in different workbook and "01" and "02" might not be in these other workbooks.
Is there a solution?
Stripe!
![[beaver] [beaver] [beaver]](/data/assets/smilies/beaver.gif)