Indirect - #ref to closed workbooks

GrahamH

New Member
Joined
Jun 24, 2004
Messages
23
Hi all

I am seeking a solution to a problem with the indirect function referencing closed workbooks.

When the workbooks are opened all the functions work well to colate and consolidate the data. However the when any one of the sheets is closed I get #ref.

I have used Indirect() to reference sheets which are subject to change and are given a new suffix (v1; v2 etc) for version control. I just need to change the appropriate value in a named range "workbook" rather than change all the formulas individually.

=INDIRECT("'["&workbook&".xls]"&"Employee Related Summary'!$F$63")/1000

Does anyone have ideas how to make indirect() function like a direct link and refresh the data without opening every workbook?

Any assistance would be mightily appreciated

Cheers
GH
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
You can use Indirect.EXT from the Morefunc add-in. You'll find the link in the "Recommended Links & Add-Ins" section. (SLOOOW internet connection or I'd post it...)

Hope that helps,

Smitty
 

Watch MrExcel Video

Forum statistics

Threads
1,119,129
Messages
5,576,267
Members
412,710
Latest member
Maged elmasry
Top