Linking to many closed files...

dominicwellsuk

New Member
Joined
Mar 23, 2011
Messages
28
Hi,

Looking for a bit of help on something. I have a list of files, listed using a directory search macro. This shows file path, file name etc.

In a column next to each file, I need to show a value in cell A1 of this file.

Can I just use a direct link to the cell, and if so, how do I reference the file I am getting the information from? Or is there a long winded method I will need to use? VBA is ok, but it would have to be spelt out to me, as I'm a beginner.

Your help is much appreciated as I've come so far in development of this sheet, only to be scuppered at the last hurdle. :mad:

Dom
 
Your cells may have gotten formatted to text when you ran the last code. Delete the data in column B, then highlight column B, go to Format>Cells and make sure it is set to General.
 
Upvote 0

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Sorry, my error. When I updated your code, for some reason it didn't change all of the lines. All working now.

I really appreciate your help, and justify getting you to do all the work by assuming this helps keep you on your toes! ;)
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,463
Members
452,915
Latest member
hannnahheileen

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