R
rstolk
here is what I am trying to do,
I would like to type data in cel A1 of file xxx.xls
(e.g abc)
I want to use this input to fill cel B1 of file xxx.xls
with the data in a cell (e.g A1) from the file abc.xls
so as part of the formula the filename of the extrnal file to lookin
(abc.xls)
must be built from the input of cell A1 of file xxx.xls
I have gotten as far as this:
='C:\Documents and Settings\Richard\My
Documents\[test.xls]Sheet1'!$A$1
but the file name here (test.xls) is hardcoded and I need it to be
created by the input form cel A1
some more specifics:
I do not want any hardcoded file names is the new xls file
or to type in the full path etc.etc
nor are any of these files open.
please note that all the files including the new to fill file all
reside in the same directory.
to specify a little more:
I have a working directory containging multiple xls file
numberd e.g. 1.xls 2.xls 3.xls and so on
so when I type 1 in A1 of the new xls file I want the formula
in B1 to pick up the data of A1 from the file 1.xls
if I were to type 2 it would pick up A1 from the file 2.xls
and so on......
hope someone knows how to do this
thanks in advance
regards
Richard
I would like to type data in cel A1 of file xxx.xls
(e.g abc)
I want to use this input to fill cel B1 of file xxx.xls
with the data in a cell (e.g A1) from the file abc.xls
so as part of the formula the filename of the extrnal file to lookin
(abc.xls)
must be built from the input of cell A1 of file xxx.xls
I have gotten as far as this:
='C:\Documents and Settings\Richard\My
Documents\[test.xls]Sheet1'!$A$1
but the file name here (test.xls) is hardcoded and I need it to be
created by the input form cel A1
some more specifics:
I do not want any hardcoded file names is the new xls file
or to type in the full path etc.etc
nor are any of these files open.
please note that all the files including the new to fill file all
reside in the same directory.
to specify a little more:
I have a working directory containging multiple xls file
numberd e.g. 1.xls 2.xls 3.xls and so on
so when I type 1 in A1 of the new xls file I want the formula
in B1 to pick up the data of A1 from the file 1.xls
if I were to type 2 it would pick up A1 from the file 2.xls
and so on......
hope someone knows how to do this
thanks in advance
regards
Richard