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

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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,215,267
Messages
6,123,964
Members
449,137
Latest member
yeti1016

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