Linking to Other Files

warhelmet

New Member
Joined
Jul 1, 2004
Messages
25
When a formula references another file, what does Excel actually do? Does it get the relevant data directly from the file sitting in storage, or does it actually load the file into memory and not show it?

The reason I ask is that I'm using a UDF to evaulate a string as a formula. I have a naming convention based on dates. Basically I'm doing lots of 12 month rolling total/average type calculations. I've got 28 months of data in nicely namely spreadsheets. I've a master report that allows you to select the period you are interested in and the UDF works out which 12 individual monthly files to look at.

If I have the monthly files open, everything works fine, but if I don't it brings back zeros.

Any ideas?
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Watch MrExcel Video

Forum statistics

Threads
1,113,956
Messages
5,545,177
Members
410,668
Latest member
Gaexel
Top