PC Review


Reply
Thread Tools Rate Thread

Copying sheet containing GetPivotData, new sheet references old workbook!

 
 
rivkarak
Guest
Posts: n/a
 
      18th Jan 2007
I have a workbook with several sheets each containing a pivot table in
Excel 2003.
The last sheet in the book compiles data from the other sheets using
the GetPivotData function.
I want to copy all the sheets to a new workbook and preserve the
relative referencing.
That is,
the GetPivotData functions on the last page of the NEW workbook should
reference the pivot tables in the NEW workbook and not the ones in the
original workbook.

I copy the sheets to a new workbook all together using:
ThisWorkbook.Sheets.Copy

Still, Excel inserts a reference to the original workbook in the
getPivotData function in the new workbook (using the fullfilepath) .

Any ideas?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Save each sheet of multi-sheet workbook as a single-sheet workbook CTB Microsoft Excel Programming 3 17th May 2011 08:40 AM
copying a template sheet and inputting a formula into another sheetthat references the new sheet A & S Microsoft Excel Programming 1 29th Jul 2009 08:59 PM
Copying a protected sheet to another sheet or workbook loses prote Rudy Microsoft Excel Crashes 0 30th Nov 2007 10:17 PM
Copying code behind from a sheet to a sheet in another workbook. =?Utf-8?B?TmF5YW4=?= Microsoft Excel Programming 6 29th Jun 2007 05:34 AM
Copying a sheet with namd references Michael Microsoft Excel Misc 1 12th May 2004 11:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:34 AM.