Prevent links from updating when saving

xgary.wilsonx

New Member
Joined
Dec 17, 2009
Messages
40
Good afternoon

I have 2 work books called book 1 and book 2, cell A1 (in sheet 1) in book 2 is linked to cell A1 in book 1 by the simple formula ='[book1.xlsx]sheet1'!$A$1. However i regularly have to save and rename book 1 as ABC123, if i do this whilst book 2 is open then the link in book 2 changes to ='[ABC123.xlsx]sheet1'!$A$1.

Is there anyway to stop this from happening and keep the link to book 1, apart from making sure book 2 is closed, could a popup be created to advise that book 2 is open?

Any ideas greatly appreciated

Many thanks


Gary
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi
Have you considered using the indirect formula, if you were to add the name of the workbook (A1), sheet (A2), and cell (A3) that you want to link to in book 1 in book 2, then in the cell (A4) enter the formula =INDIRECT("'["&A1&".xlsx]"&A2&"'!"&A3) and this will return the value you wanted. however this only works with both workbooks open.
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,842
Members
449,193
Latest member
MikeVol

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