ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Copy worksheet and pivot table (https://www.excelbanter.com/excel-discussion-misc-queries/158295-copy-worksheet-pivot-table.html)

Rosa

Copy worksheet and pivot table
 
Hello,

I created a Pivot Table. I wrote a macro to copy the worksheet. The problem
is that the Pivot Table continues to reference the original sheet. How do I
make the reference stay with the new sheet? I have another macro that
refreshes the Pivot Table and it's creating an error because two Pivot Tables
are referencing the same data.

Is there a way around this?

Thanks


All times are GMT +1. The time now is 05:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com