LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Copying sheet containing GetPivotData, new sheet references old workbook!

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?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying one sheet to another workbook boschuster50 Excel Discussion (Misc queries) 3 April 30th 09 10:40 PM
Copying data from workbook/sheets to another workbook/sheet yukon_phil Excel Programming 0 July 26th 06 07:33 PM
copying sheet references that refer to a cell in the preceding she GBT Excel Worksheet Functions 1 March 24th 06 07:51 PM
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. RonMc5 Excel Discussion (Misc queries) 9 February 3rd 05 12:51 AM
Copying sheet to another workbook using VBA... Trevor[_4_] Excel Programming 1 August 27th 04 11:30 PM


All times are GMT +1. The time now is 10:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"