copying sheet with pivottable without links/

GangsterD

New Member
Joined
Mar 3, 2011
Messages
1
Hello,

Ik have a file A.xls with sheet1: data and sheet2: pivottable

With a macro I copied the sheet2 to B.xls
With another macro I copied the sheet2 to sheet3 within the same workbook.

Problem:

I want to update the pivottable in sheet2(current sheet) without updating sheet 3. I tried using Data> Refresh (all) but that refreshes ALL sheets (sheet2 and sheet3)

OR I want to copy sheet2(current sheet) the exact way to a predefined sheet without the links to the database of A.xls

How do I define a macro to do either one of these things?

Kind Regards
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,215,008
Messages
6,122,672
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