Link to file

fcohen

New Member
Joined
Jan 17, 2014
Messages
32
Hi all,

I have this situation:
In cell A1: c:\test\myfile.xlsx

I want to have a formula in B1 that get's the value of C1 in myfile.xlsx but this must be updated if in A1 I change the file name.


Is this possible?

Thank you,
FC.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
You can use INDIRECT, but the source workbook must be open. Why don't you just Edit Links and change the Source?
 
Upvote 0
Thank you Andrew for your answer,
I'm trying to do like this because I will build a table with several columns. In the first column I will insert the folder&file name to link and then in the other columns the formulas will be the same in each row of my table...
 
Upvote 0

Forum statistics

Threads
1,215,772
Messages
6,126,810
Members
449,339
Latest member
Cap N

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