Coonvert string into a link to another workbook

pbr1985

New Member
Joined
Dec 19, 2016
Messages
4
So I have a link to a different workbook using an absolute reference:

Code:
='C:\Users\Pete\Documents\Timesheets\[51.Davies, TimeKeeping.xlsx]Times'!$B$42


But i want to split this link up into different parts to make it more easily changeable. I want to pull the data used in the link from different cells, concatenate it, and create a link. So cell A1 would contain:
Code:
'C:\Users\Pete\Documents\Timesheets\[

B1:
Code:
51.Davies

C1:
Code:
TimeKeeping.xlsx]

D1:
Code:
Times'!$B$42

And then E1:
Code:
=concatenate(A1,B1,C1,D1)

This creates a string with the exact text contained in the original link, but it is just that; a string. How do I convert this string to a live link?
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,190,739
Messages
5,982,674
Members
439,790
Latest member
jonaust

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
Top