ADDRESS

M

Martin Hallerbach

Hi NG,

I try the following

J10 = contans a literal which is
1. a Productnumber XXXXXX
2. the name of a table that contains parts, concerned to the product.

in N10
=ADRESS(10;1;1;TRUE;"\\Server\Path\["&J10&".xls]Titelseite")
gives me the completed adress as text
'\\Server\Path\[XXXXXX.xls]Titelseite'!$A$10

Now i'm looking for a function to retrieve the value of that specific cell

I try in N11
=INDIRECT(N10)

but i get an error back
#REFERENCE (German #BEZUG)

I believe it should work but I can't see why it doesn't

thx in advance
 
M

Martin

First of all, there must be no apostrophes around the path and sheet name.

Second, Indirect only works for open files.
 
M

Martin Hallerbach

Hi Bob and Martin,

thanks for your information.

I'll try that VBA code

:))))
 
Top