Pivot Macro to Continuously Show All

josterma

New Member
Joined
Nov 14, 2003
Messages
39
Good afternoon,
I have a pivot table that will be growing over time as end users add more source data and refresh it. Is there a way to add a macro that will check "Show All" within the pivot fields themselves even after new data is added?

I've seen multiple options on the board for having the macro that checks "Show All" but have yet to see one that can continuously still show all data after new data has been added to the table.

Thanks!
Jeff
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

xenou

MrExcel MVP
Joined
Mar 2, 2007
Messages
16,836
Office Version
  1. 2019
Platform
  1. Windows
If show all is already chosen in the pivot tables, any new data added to the source will display whenever you refresh the table. You don't have to do anything special.

AB
 

josterma

New Member
Joined
Nov 14, 2003
Messages
39
AB,
I may have been somewhat unclear. My goal is to create a macro that will do this and assign it to a button that an end user can click to take them back to the "Show All" state. Some users may just check some boxes (out of hundreds) and I'd like them to have an easy way to go back to "Show All" without having to recheck everyone they've unchecked.

Thanks,
Jeff
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,277
Messages
5,836,343
Members
430,421
Latest member
Natas

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
Top