ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Using variable in external links (https://www.excelbanter.com/excel-discussion-misc-queries/16354-using-variable-external-links.html)

automne

Using variable in external links
 
Dear all,

Is is possible to use value store in other cells in external links?
Say I have a list of filename on column A

apple.xls
orange.xls
banana.xls
..... and thousands more.

How can I build external links to these workbooks by formula easily? Like
this for example,
='C:\apple.xls\Sheet1'!$A$4
='C:\orange.xls\Sheet1'!$A$4
='C:\banana.xls\Sheet1'!$A$4

Any help would be highly appreciated.

Thanks & regards,
Automne



Myrna Larson

See if the INDIRECT function will help.


On Sat, 5 Mar 2005 01:48:58 +0800, "automne"
wrote:

Dear all,

Is is possible to use value store in other cells in external links?
Say I have a list of filename on column A

apple.xls
orange.xls
banana.xls
.... and thousands more.

How can I build external links to these workbooks by formula easily? Like
this for example,
='C:\apple.xls\Sheet1'!$A$4
='C:\orange.xls\Sheet1'!$A$4
='C:\banana.xls\Sheet1'!$A$4

Any help would be highly appreciated.

Thanks & regards,
Automne




All times are GMT +1. The time now is 02:06 PM.

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