Linking data from Pivot Tables

new2VBA!

New Member
Joined
Apr 20, 2010
Messages
3
Hi,

I need to link data from a pivot table to cells in a different workbook. This is not a problem. The Problem is that cells that the data is linked to are for each day of the year, and the pivot table the data comes from can be sorted by Month and day. Each Month the pivot table will be updated to show only data for that current month, this will cause the data that is linked to the cells in the different workbook to change. How can I prevent this from happening. There are way to many lines to copy and past, I am looking for away to make this more efficient.

I have also thought about expanding the pivot table to show all months but this will not work as it will be to large, and other people will have to use the same pivot table for other items.

Is there a way to get what I want without having to copy and past ? Is there something I could do in VBA ?

Please Help....
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Hi new2vba,

I saw your post and thought this would answer my question. How do I link data from a pivot table in Wookbook2 to data in Workbook1? Say in WB1 I have the named range "Sales" defining the field in the pivot table, I'd like to point the pivot table in WB2 to WB1 and have the tables able to refresh as needed. Sounds like you got that part working. Care to share how?

Thanks
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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