Editing links between worksheets..!

daddydavid

New Member
Joined
Apr 7, 2011
Messages
3
I have several excel files inside one folder lets say named employee 1 to employee 7. In book 8 cell A1, I link to several cells in the employee 1 book. In book 8 cell B1 I need to link to all the same cells as in cell A1 but from the next workbook employee 2. I can cut and paste the link from A1 to B1 and then manually edit all the employee 1's and change them to employee 2. But there must be a quicker way of doing this does anyone know.......Thankyou....Dave
 
Last edited:

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Edit/Links ( or Prepare/ Edit Links ), and change source.
 
Upvote 0
Hi edit links only works with all the links on the entire sheet, it is not cell specific, or am I incorrect...? Sorry let me try to explain. Book 8 cell A1 links to several locations in a worksheet named employee 1. Book 8 cell B1 needs to link to the same locations but in a different worksheet named employee 2.

=SUM('\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$L$27+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$L$28+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$L$29+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$L$30+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$L$31+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$U$27+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$U$28+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$U$29+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$U$30+'\\davidturkhud\Users\David\Desktop\Wages 11-12\G&P Transport\[Employee 10.xlsx]P11'!$U$31)

The above is the formula in cell A1, all I need to do is the same formula in cell B1 but change the link to [Employee 2.xlsx] easy enough to do manually but can it be done automatically......Dave
 
Last edited:
Upvote 0
In that case use edit/replace on the range of cells whose link you want to change.
 
Upvote 0
Copy the original formula into the equired cell.

Highlight the cell with the formula (and at least one other), and use find/replace.

Employee 1
with
Employee 2

As they are all saved in the same folder, this is the only element of the link which needs to be changed, as long as the sheets are in the same format... It should work..

Regards

Roger
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,874
Members
452,949
Latest member
Dupuhini

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