Indirect to file on server #REF error

boxsterman

Active Member
Joined
Apr 16, 2002
Messages
285
Hi all,

I'm trying to link to a several files on our server, depending how I link or view them they have two names, either:

W:\Finance\Finance NT_PCO_!current\2021\Plan\004.xlsm
or
'\\PCOFS01\Finance$\Finance\Finance NT_PCO_!current\2021\Plan\[004.xlsm]21_Plan'!$P$58

When the file is open and I reference just the file name (from cell B3) and use this, =INDIRECT("'["&B3&"]2020'!$P$58"), it works perfectly. The issue when the file is closed and I try to reference on of the two above, I get the #REF error.

Any thoughts?

Thanks,

J.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
The indirect function does not work on closed workbooks.
 
Upvote 0
Solution
Unfortunately, not that I'm aware of.
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,462
Members
449,085
Latest member
ExcelError

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