Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Guido
 
Posts: n/a
Default Drop down list as part of a file name selector

I created a drop down list. The list contains the names for certain Excel
files without the extension ".xls" (File1, File1, File3, etc). Those files
are stored in the same directory.
In a different field I want to select data from one of the drop down list
files. In that box I put: " ='B3.xls'!data "
B3 is the location of the drop down list to select the specific file; data
is the cell name in the data file.
Needless to say that this doesn't work, but I hope someone knows how I can
do this differently without using the huge IF-statement that I am using now.
Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default Drop down list as part of a file name selector

You may use the INDIRECT.EXT function, that can fetch references from closed
files. This is not a standard function, you have it available to download
he
http://xcell05.free.fr/english/
And the help for the function he
http://xcell05.free.fr/english/moref...direct.ext.htm
In order to craft the reference part, use something like:
"'" & B3 & ".xls'!data "
Concatenating instead of writing the B3 as part of the string.

Hope this helps,
Miguel.

"Guido" wrote:

I created a drop down list. The list contains the names for certain Excel
files without the extension ".xls" (File1, File1, File3, etc). Those files
are stored in the same directory.
In a different field I want to select data from one of the drop down list
files. In that box I put: " ='B3.xls'!data "
B3 is the location of the drop down list to select the specific file; data
is the cell name in the data file.
Needless to say that this doesn't work, but I hope someone knows how I can
do this differently without using the huge IF-statement that I am using now.
Thanks!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Drop Down List I''m Still Here Excel Discussion (Misc queries) 5 March 22nd 06 08:46 PM
Drop down list from another drop down list Sallad Excel Discussion (Misc queries) 1 March 22nd 06 12:30 AM
Advanced Excel Drop down List chriscana Excel Discussion (Misc queries) 4 March 21st 06 01:35 PM
re-ordering the list on a filter drop down Kylor Excel Discussion (Misc queries) 3 December 19th 05 06:59 PM
Drop List Referencing Boony Excel Worksheet Functions 2 November 11th 04 11:42 AM


All times are GMT +1. The time now is 10:46 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"