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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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