Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Variable Filename calls

Ok, Here's another thing I'm having trouble getting to work. I would
like to concatenate a file and cell name to use to retrieve a value. I
have a master sheet that contains a filename value in a cell. I would
then use the filename value contained in that cell to call a value from
another sheet. Here is an example of what I mean:

File_Names.xls!FILE_SALES_JUNE_2006

['FILE_SALES_JUNE_2006' is concatenated, cell contains value...]

----
Sales_June_2006.xls
----

I would then use that value to call a concatenated cell value from
another sheet

Sales_June_2006.xls!S_1001_1


['S_1001_1' is concatenated, cell contains value...]

----
8804 <----- value needed
----

I concatenate the needed filename correctly, I just can't seem to get
resulting values to be used in the file/cellname call. How would you
get a "File_Names.xls!FILE_SALES_JUNE_2006" command to accept a variable
as a cellname and a "Sales_June_2006.xls!S_1001_1" to accept cell value
and variable name as both the filename and the cell name in the call.
Thanks in advance for any help.

-Daniel Canham




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
Nested String Filename Variable ed9213 Excel Worksheet Functions 9 February 12th 07 02:27 AM
Put Filename Variable in Macro David Excel Discussion (Misc queries) 4 December 27th 05 06:27 PM
Put Filename Variable in Macro David Excel Programming 1 December 27th 05 03:00 AM
Filename Variable? Penflex Excel Programming 2 May 5th 05 05:11 PM
counting cells and using a variable filename?!?! solo_razor[_10_] Excel Programming 1 September 22nd 03 12:55 PM


All times are GMT +1. The time now is 11:23 PM.

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"