ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help setting PivotItems... (https://www.excelbanter.com/excel-programming/393639-help-setting-pivotitems.html)

Sam

Help setting PivotItems...
 
Is there a code to "ShowAll" in a PivotField? I have written a code that
correctly sets the visible property of unwanted dates to False. When I
refresh the PivotTable to a new list, I must show all items to run the code
again. Every time I try to run a code to set all items to true, I get a
run-time that says I cannot set the visible property of the PivotItem Class.

Jim Thomlinson

Help setting PivotItems...
 
Give this a look...

http://www.contextures.com/xlPivot03.html
--
HTH...

Jim Thomlinson


"Sam" wrote:

Is there a code to "ShowAll" in a PivotField? I have written a code that
correctly sets the visible property of unwanted dates to False. When I
refresh the PivotTable to a new list, I must show all items to run the code
again. Every time I try to run a code to set all items to true, I get a
run-time that says I cannot set the visible property of the PivotItem Class.



All times are GMT +1. The time now is 02:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com