Change linked worksheet based on cell value

Excellent432

New Member
Joined
Oct 30, 2018
Messages
1
Hello,

I am trying to point excel workbook 1 to a worksheet in a linked workbook 2. basically the worksheet name changes and I need to update all the formulas that point to that worksheet on a weekly basis. Is there a way to automate this?

i.e. in workbook 1, I have the formula =C:\Users\[USER]\Desktop\[Copy of 000000 planning.xlsm]&L1&"'!"&N43 in an attempt to point workbook 1 to cell N43 in workbook 2, based on the value of "L1" in workbook 1. I can get it to return the path i.e. but not to evaluate. Can anyone help with this?

note: I have L1 auto updating with the current workbook's name, so it can run automatically.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,215,706
Messages
6,126,344
Members
449,311
Latest member
accessbob

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