ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Read excel workbook (https://www.excelbanter.com/excel-worksheet-functions/5127-read-excel-workbook.html)

starfighter61

Read excel workbook
 
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10



Frank Kabel

Hi
normally INDIRECT would do. But as the other file is probably closed
INDIRECT won't work.
See the following thread for alternatives
http://tinyurl.com/2c62u
In your case INDIRECT.EXT should work. e.g.
=INDIRECT.EXT("'L:\[Franvaro1Av" & B5 & ".xls]Sammandrag'!$H$10")



--
Regards
Frank Kabel
Frankfurt, Germany


starfighter61 wrote:
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10



starfighter61

Thanks alot

Yes it worked but i realised that reading 150 cells from 5 workbooks (30
cells from each) do take a long time
But if i open them it was fast.
Maybe i should open them before i use this

"Frank Kabel" wrote:

Hi
normally INDIRECT would do. But as the other file is probably closed
INDIRECT won't work.
See the following thread for alternatives
http://tinyurl.com/2c62u
In your case INDIRECT.EXT should work. e.g.
=INDIRECT.EXT("'L:\[Franvaro1Av" & B5 & ".xls]Sammandrag'!$H$10")



--
Regards
Frank Kabel
Frankfurt, Germany


starfighter61 wrote:
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10




Frank Kabel

Hi
if you open the file you can replace INDIRECT.EXT with INDIRECT

--
Regards
Frank Kabel
Frankfurt, Germany

"starfighter61" schrieb im
Newsbeitrag ...
Thanks alot

Yes it worked but i realised that reading 150 cells from 5 workbooks

(30
cells from each) do take a long time
But if i open them it was fast.
Maybe i should open them before i use this

"Frank Kabel" wrote:

Hi
normally INDIRECT would do. But as the other file is probably

closed
INDIRECT won't work.
See the following thread for alternatives
http://tinyurl.com/2c62u
In your case INDIRECT.EXT should work. e.g.
=INDIRECT.EXT("'L:\[Franvaro1Av" & B5 & ".xls]Sammandrag'!$H$10")



--
Regards
Frank Kabel
Frankfurt, Germany


starfighter61 wrote:
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10





starfighter61

thanks i try that

"Frank Kabel" wrote:

Hi
if you open the file you can replace INDIRECT.EXT with INDIRECT

--
Regards
Frank Kabel
Frankfurt, Germany

"starfighter61" schrieb im
Newsbeitrag ...
Thanks alot

Yes it worked but i realised that reading 150 cells from 5 workbooks

(30
cells from each) do take a long time
But if i open them it was fast.
Maybe i should open them before i use this

"Frank Kabel" wrote:

Hi
normally INDIRECT would do. But as the other file is probably

closed
INDIRECT won't work.
See the following thread for alternatives
http://tinyurl.com/2c62u
In your case INDIRECT.EXT should work. e.g.
=INDIRECT.EXT("'L:\[Franvaro1Av" & B5 & ".xls]Sammandrag'!$H$10")



--
Regards
Frank Kabel
Frankfurt, Germany


starfighter61 wrote:
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10





starfighter61

If my C5 cell have the value 44 and
i use this =INDIRECT.EXT("[Franvaro1Av" & C5 & ".xls]Sammandrag!$B$201")
it works great but if i use this
=INDIRECT("[Frånvaro1Av" & C5 & ".xls]Sammandrag!$B$201")
the cell only say #NAME

and the Franvaro1Av44.xls is open


"starfighter61" wrote:

thanks i try that

"Frank Kabel" wrote:

Hi
if you open the file you can replace INDIRECT.EXT with INDIRECT

--
Regards
Frank Kabel
Frankfurt, Germany

"starfighter61" schrieb im
Newsbeitrag ...
Thanks alot

Yes it worked but i realised that reading 150 cells from 5 workbooks

(30
cells from each) do take a long time
But if i open them it was fast.
Maybe i should open them before i use this

"Frank Kabel" wrote:

Hi
normally INDIRECT would do. But as the other file is probably

closed
INDIRECT won't work.
See the following thread for alternatives
http://tinyurl.com/2c62u
In your case INDIRECT.EXT should work. e.g.
=INDIRECT.EXT("'L:\[Franvaro1Av" & B5 & ".xls]Sammandrag'!$H$10")



--
Regards
Frank Kabel
Frankfurt, Germany


starfighter61 wrote:
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10





starfighter61

Sorry it worked great
It was my swedish excel that was the trouble in there the functionname is
INDIREKT
thats often a problem

Thanks again

"starfighter61" wrote:

If my C5 cell have the value 44 and
i use this =INDIRECT.EXT("[Franvaro1Av" & C5 & ".xls]Sammandrag!$B$201")
it works great but if i use this
=INDIRECT("[Frånvaro1Av" & C5 & ".xls]Sammandrag!$B$201")
the cell only say #NAME

and the Franvaro1Av44.xls is open


"starfighter61" wrote:

thanks i try that

"Frank Kabel" wrote:

Hi
if you open the file you can replace INDIRECT.EXT with INDIRECT

--
Regards
Frank Kabel
Frankfurt, Germany

"starfighter61" schrieb im
Newsbeitrag ...
Thanks alot

Yes it worked but i realised that reading 150 cells from 5 workbooks
(30
cells from each) do take a long time
But if i open them it was fast.
Maybe i should open them before i use this

"Frank Kabel" wrote:

Hi
normally INDIRECT would do. But as the other file is probably
closed
INDIRECT won't work.
See the following thread for alternatives
http://tinyurl.com/2c62u
In your case INDIRECT.EXT should work. e.g.
=INDIRECT.EXT("'L:\[Franvaro1Av" & B5 & ".xls]Sammandrag'!$H$10")



--
Regards
Frank Kabel
Frankfurt, Germany


starfighter61 wrote:
Hello

If i read from another workbook lets say
='L:\[Franvaro1Av43.xls]Sammandrag'!$H$10

And like to change the number 43 in the link to 44
is it possible to link that part of the link to a cell
like if cell b5 has the value 44
='L:\[Franvaro1Av{b5}.xls]Sammandrag'!$H$10






All times are GMT +1. The time now is 03:42 PM.

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