Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Reading from a .xls spreadsheet based on a cell name

Suppose you have a file with a list of cells, referenced by a VLOOKUP

choicea filea.xls
choiceb fileb.xls
choicec filec.xls
(there are actually 25+ files, but you get the idea)

Off of a menu, you choose choicea, choiceb, or choicec, and a bunch of cells
fill in, but the most important thing I want to do is update macros and
cells to read from the file selected above - so if I click on "choiceb",
read from file "fileb.xls". The problem is that I haven't figured out -
through either VBA or a formula - to get a formula to read from cells in a
different file.

Please keep in mind that this file could have up to 20,000 rows, with INDEX
and MATCH statements against any of 400,000 cells in those files, so what I
really want to do is force it to a variable, and then the formulas read from
a variable. I tried this and got the exact formula I wanted in the cell,
but it was interpreted at all.

I will leave this to the pros to see if they have an idea.

Thanks,
Brandon




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
FORMULA READING DATA FROM PIVOT TABLE TO SPREADSHEET Donna Excel Worksheet Functions 0 March 9th 09 06:43 PM
How to lock a row in a spreadsheet based on the value in a cell Prasad Excel Worksheet Functions 3 December 16th 05 05:18 PM
VBA newbie - can i search the spreadsheet based on the active cell? ciupe Excel Programming 1 January 19th 04 12:04 PM
reading cells from a spreadsheet using VB Bob Kilmer Excel Programming 0 August 1st 03 01:37 PM


All times are GMT +1. The time now is 08:23 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"