ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   ADDRESS (https://www.excelbanter.com/excel-worksheet-functions/80515-address.html)

Martin Hallerbach

ADDRESS
 

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

--
Martin

Bob Phillips

ADDRESS
 
You cannot use INDIRECT on a closed workbook. For this try this alternative
http://makeashorterlink.com/?F2993260A

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Martin Hallerbach" wrote in
message ...

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

--
Martin




Martin

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

Second, Indirect only works for open files.

"Martin Hallerbach" wrote:


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

--
Martin


Martin Hallerbach

ADDRESS
 
Hi Bob and Martin,

thanks for your information.

I'll try that VBA code

:-))))

--
Martin


"Bob Phillips" wrote:

You cannot use INDIRECT on a closed workbook. For this try this alternative
http://makeashorterlink.com/?F2993260A

--




All times are GMT +1. The time now is 02:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com