Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 389
Default calling a value from another file using a variable in the file nam

The formula works OK for me, but if there are single quotes in the workbook
name (e.g. "december's.xls"), they'll have to be doubled.
This modification should work for all workbook names.

=INDIRECT(CONCATENATE("'[daily flash
",SUBSTITUTE(E3,"'","''"),".xls]sheet1'! E22"))

Otherwise, you can troubleshoot it by selecting the concatenate part of the
formula in the formula bar, press F9, copy, (ESC to revert formula), paste
result into cell, and go from there.


--
Tim Zych
SF, CA

"DA_Potts" wrote in message
...
I want to be able to get a vale from another Excel file where the value of
"E3" will change depending on the day of the month.

Below was what I tried, but it did not work.

=INDIRECT(CONCATENATE("'[daily flash ",E3,".xls]sheet1'! E22"))

I have the file open that Iwant to call from.
I am using Excel 2003.



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
calling a value from another file using a variable in the file nam DA_Potts[_2_] Excel Discussion (Misc queries) 4 December 2nd 07 11:09 PM
Calling a specific worksheet from a hyperlink in a seperate file. TheChris Excel Worksheet Functions 0 February 2nd 06 01:48 AM
Calling a common XLA Library file, stored on a network drive :) eXcellence Excel Discussion (Misc queries) 5 June 28th 05 02:10 PM
Calling a common XLA Library file, stored on a network drive :) eXcellence Setting up and Configuration of Excel 5 June 28th 05 02:10 PM
When calling a different file, can I make the tab equal to a cell? thebigd08 Excel Discussion (Misc queries) 1 June 24th 05 12:39 AM


All times are GMT +1. The time now is 07:22 AM.

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

About Us

"It's about Microsoft Excel"