Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jay Jay is offline
external usenet poster
 
Posts: 671
Default Replace worksheet without affecting the referencing formula

I had a workbook with many worksheets (e.g. WA, WB, WC). Then, in one of the
worksheet, i had formulas that reference to these worksheet (e.g. 'WA'!A1).

I would get updates of the worksheets from my colleagues whom i would latter
update it to the workbook. What i do is
1. Copy all the updated worksheets to the workbook (which it will named as
WA(2), WB(2), WC(2) ).
2. Then, i delete off the original worksheets (except the one with the
formula) and rename WA(2) to WA, WB(2) to WB and etc.

However, the worksheets with the referencing formula doesn't automatically
update itself to the updated worksheet (even though the worksheet name is now
the same of the previous worksheet). How do i ensure that the formula is
automatically updated to the 'new' worksheet name?

Is there any way we could do this?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Replace worksheet without affecting the referencing formula

Can you just select all the cells on the updated worksheet and copy|paste right
over the existing worksheet?

If that doesn't work, then I'd do this:
Select your worksheet.
Change all the formulas to text
select all the cells
Edit|replace
what: = (equal sign)
with: $$$$$=
replace all

Then replace all the worksheets you need to replace.

When you're done, just change all these strings back so that the cells contain
formulas:

Select all the cells
Edit|Replace
what: $$$$$=
with: =
replace all



Jay wrote:

I had a workbook with many worksheets (e.g. WA, WB, WC). Then, in one of the
worksheet, i had formulas that reference to these worksheet (e.g. 'WA'!A1).

I would get updates of the worksheets from my colleagues whom i would latter
update it to the workbook. What i do is
1. Copy all the updated worksheets to the workbook (which it will named as
WA(2), WB(2), WC(2) ).
2. Then, i delete off the original worksheets (except the one with the
formula) and rename WA(2) to WA, WB(2) to WB and etc.

However, the worksheets with the referencing formula doesn't automatically
update itself to the updated worksheet (even though the worksheet name is now
the same of the previous worksheet). How do i ensure that the formula is
automatically updated to the 'new' worksheet name?

Is there any way we could do this?

Thanks.


--

Dave Peterson
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
Replace single 0 without affecting other cells Cindy E Excel Worksheet Functions 1 June 18th 08 07:22 PM
How can I sort data without affecting formula? vickis Excel Discussion (Misc queries) 3 January 10th 07 03:57 AM
Same formula referencing same cells returns incorrect results, randomly, when pasted into new worksheet [email protected] Excel Worksheet Functions 1 March 9th 06 07:55 PM
sort worksheet without affecting workbook Barry Excel Worksheet Functions 3 November 2nd 05 10:06 PM
Replace worksheet name in formula linked to a different workbook Jen and Debra Excel Discussion (Misc queries) 1 February 10th 05 11:02 PM


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

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"