Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Worksheet copy issue


I am building a report creator which creates a new workbook for the dat
every fiscal week. The problem is, when I copy a worksheet to the ne
workbook from the template workbook the references still point to th
old workbook (i.e. =Data!B3 becomes =[Audits.xls]Data!B3) is there som
easy way to prevent this? I used the replace method to remove all th
["oldFileName"] instances but this is clumsy.

Thanks,
Tomm

--
TommySzalapsk
-----------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...fo&userid=2556
View this thread: http://www.excelforum.com/showthread.php?threadid=38993

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Worksheet copy issue

Hi Tommy
Go to Edit Links and link the book to itself.

Thanks
Barb

"TommySzalapski" wrote:


I am building a report creator which creates a new workbook for the data
every fiscal week. The problem is, when I copy a worksheet to the new
workbook from the template workbook the references still point to the
old workbook (i.e. =Data!B3 becomes =[Audits.xls]Data!B3) is there some
easy way to prevent this? I used the replace method to remove all the
["oldFileName"] instances but this is clumsy.

Thanks,
Tommy


--
TommySzalapski
------------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...o&userid=25561
View this thread: http://www.excelforum.com/showthread...hreadid=389934


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Worksheet copy issue


No, I need to do it from within the macr

--
TommySzalapsk
-----------------------------------------------------------------------
TommySzalapski's Profile: http://www.excelforum.com/member.php...fo&userid=2556
View this thread: http://www.excelforum.com/showthread.php?threadid=38993

Reply
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
VBA Copy Paste Issue jlclyde Excel Discussion (Misc queries) 0 January 21st 10 05:53 PM
Copy & Paste Issue carrera0000 Excel Discussion (Misc queries) 3 August 17th 07 02:24 AM
Copy Paste issue amwebber Excel Worksheet Functions 3 October 31st 06 02:08 AM
Issue with copy & paste? Etrnal168 Excel Discussion (Misc queries) 2 July 12th 05 03:35 AM
Copy Range Issue SIGE Excel Programming 15 April 5th 05 04:57 PM


All times are GMT +1. The time now is 07:45 PM.

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

About Us

"It's about Microsoft Excel"