Macro to Show/Select All in Pivot

Sun2620

New Member
Joined
Sep 9, 2009
Messages
2
Hi I need to write a macro with a reset button that will go through the Pivot and refresh all fields one by one and click the (Select All) option to show all the items within each Row Fields and Column Fields. When I record the Macro it goes through and turns on all items within a field one by one by naming each item within a field and making it Visible and that's too slow. there is no way to make it more dynamic and faster, so as to just check the (Select All) box ON for each field?

Thanks
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi, Please set the PT's ManualUpdate property to false, make the changes, then reset ManualUpdate to true. HTH, F
 
Upvote 0
Hi, Please set the PT's ManualUpdate property to false, make the changes, then reset ManualUpdate to true. HTH, F
Thanks, I'm still not sure how to go about and check the box in each pivot field that's called (Select ALL) in the macro. Any help with that would be great.
Thanks
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top