Help with Pivot chart loosing connections when copied to new workbook

Mr Excelinator

New Member
Joined
Mar 4, 2014
Messages
37
Morning Chaps.

Hope someone can help with this.

I've a master workbook spooling off output reports using VBA, which are in effect slimmed down copies of the master workbook containing the source data, pivot tables with pivot charts & slicers - so looks & feels like a dynamic report for the user.

Everything works OK but the pivot chart loses its connection to the output pivottable in the output workbook so it doesn't change with slicer selection.
Has anyone a method to stop that from happening OR a piece of code you use to reset the links to the output workbooks pivottable?

Many thanks!
Stu. aka Mr Excelinator
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I literally Just tried this and it works with no probs.

i have slicers and all.

Maybe you are using an OLAP pivot?
 
Upvote 0
Nope... Just tried this with an OLAP pivot and still works...

are you copying the sheet tab? (that's what i did and worked)
 
Upvote 0

Forum statistics

Threads
1,216,190
Messages
6,129,421
Members
449,509
Latest member
ajbooisen

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