R
Richard
Hi,
I have created an application which filters data from a
Pivot Table so that the user can view only the data
relevent to them. To do this I used the following code in
a for loop:
Worksheets(mySheet).PivotTables(myPivot).PivotFields
("From Mailbox").PivotItems.Item(x).Visible = False
This works great however, I can not seem to get the items
to programatically reappear once they have been set to
Visible=False. I attempted to make them visible by
setting Visble = True but this does not work.
The pivot table design is basic in that "From Mailbox" is
the only row and their is only a count value in the data
area. I also have two fields defined as page values. How
might I make this work?
I have created an application which filters data from a
Pivot Table so that the user can view only the data
relevent to them. To do this I used the following code in
a for loop:
Worksheets(mySheet).PivotTables(myPivot).PivotFields
("From Mailbox").PivotItems.Item(x).Visible = False
This works great however, I can not seem to get the items
to programatically reappear once they have been set to
Visible=False. I attempted to make them visible by
setting Visble = True but this does not work.
The pivot table design is basic in that "From Mailbox" is
the only row and their is only a count value in the data
area. I also have two fields defined as page values. How
might I make this work?