ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using the Indirect.Ext function (https://www.excelbanter.com/excel-worksheet-functions/5161-using-indirect-ext-function.html)

henryhbb

Using the Indirect.Ext function
 

The original reference works fine even if the source workbook is closed.
Does anyone know of a way to change the reference based on a vaule in
another cell?


--
henryhbb
------------------------------------------------------------------------
henryhbb's Profile: http://www.excelforum.com/member.php...o&userid=15774
View this thread: http://www.excelforum.com/showthread...hreadid=272888


Frank Kabel

Hi
was this your first reference?
='K:\ACCTG\25 BUDGET\Department Budgets\GAMES 2005.xls'!Jan
'K:\ACCTG\25 BUDGET\Department Budgets\GAMES 2005.xls'!PR

This looks at least for me like two references.
In addition as said you CAN'T use defined names with INDIRECT.EXT and
closed workbooks. e.g. your defined name 'Jan' is not available if the
workbook is closed. No way around this. Use a range reference such as
A1:A100 instead.
So if for example C179 has the value
A1
try
=INDIRECT.EXT("'K:\ACCTG\25 BUDGET\Department Budgets\GAMES 2005.xls'!"
& C179)

There're several restrictions then dealing with closed workbooks and
this kind of functions!

--
Regards
Frank Kabel
Frankfurt, Germany

"henryhbb" schrieb im
Newsbeitrag ...

The original reference works fine even if the source workbook is

closed.
Does anyone know of a way to change the reference based on a vaule in
another cell?


--
henryhbb
---------------------------------------------------------------------

---
henryhbb's Profile:

http://www.excelforum.com/member.php...o&userid=15774
View this thread:

http://www.excelforum.com/showthread...hreadid=272888




All times are GMT +1. The time now is 12:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com