Path of a linked workbook stored as a name

Mcstefan

New Member
Joined
May 17, 2014
Messages
48
Hi,

I have a master workbook that contains over one hundred worksheets and about 10 other workbooks that are linked to the master. All the linked workbooks are moved from the current month folder to the next month folder. The 10 workbooks are changing the name every month and I want to be able to change the source of the linked files every month. The formulas used in the master are complex and long (INDEX, MATCH, and SUMPROD used together). They are long due to the path where the linked worksheets are stored. They are stored in the tenth folder from the root as below

='S:\aaa\bbb\ccc\ddd\eee\fff\ggg\hhh\iii\jjj\[Book2.xlsx]Sal'!$B$1

I am looking for a way to name the path 'S:\aaa\bbb\ccc\ddd\eee\fff\ggg\hhh\iii\jjj\[Book2.xlsx]Sal' as 'path' so that my formulas will look shorter, something like

=[path]Sal!$B$1

I have tried this with the Name Manager, but my values are not updating if for example I change the source workbook from Book2 to Book3.
Any ideas ?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
you could map the root folder to a new ID i.e Z:\
 
Upvote 0
Thanks for the answer. I thought of that, but unfortunatelly it is not an option for me. Any other ideas?
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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