Use of Indirect() to link to outside Workbook cells

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,486
I always have problems with the ""'s in setting up the following link

In my
cell ref I have:
F4 C:\Users\Owner\Documents\ExcelChest\
F20 MySourceWB.xlsx
G20 Testing (My Sheetname)
H20 A1 (contains text)

This is my current attempt, which IS NOT working. Can someone assist in correcting?

=INDIRECT("'["&F4&F20&"]"&G20&"'!"&H20)
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Indirect doesn't work on closed workbooks.
If the workbook isn't closed, then the path is not required.
 
Upvote 0
I've recently has a template file go bad with the intrusion of 12 sheets of #REF and 80 formulas per page (960 cells now with #REF ....)

I'm gonna have to recreate all links and was looking for a more fool-proof way to avoid this from occurring again. Currently my "MySourseWB.xlsx" file
is open which is why I'm likely getting the error, but I was hoping to do "whatever" to avoid the #REF from occurring again, after I recreate (estimated 2+ hours to do)
Thanks,

Jim

Jim
 
Upvote 0
This file is on a clients PC. I'm headed there tomorrow. I'll begin with a number of "TRYS" at doing something... Tks, Jim
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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