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
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
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
 
Upvote 0

Forum statistics

Threads
1,214,575
Messages
6,120,342
Members
448,956
Latest member
Adamsxl

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