Expand Collapse Side by side Pivot tables

Mjk7239

New Member
Joined
Sep 29, 2013
Messages
14
All,
Looking for VBA code to expand / collapse multiple pivots when selecting an item in the first pivot table.
Pivot table Sync 01.jpg


Any help on this would be greatly appreciated.
Thank you in advance.
Mark
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
leave ten or fifteen columns between, and hide them. close to and often you get a failure. code to do what you want I don't know
 
Upvote 0
Thanks, but you're not close, these are two separate Pivot tables with about 20 columns between them so they don't run into each other.

I have slicers that are connected to each so that they slice and dice simultaneously but to expand and collapse simultaneously is another issue.
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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