#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Sti / path?

Jeg ville hører om man ikke kunne lave en sti hvor der var indflettet en værdi fra en celle ??
F.eks.
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
det er "Hejsa" jeg ønsker udskiftet med F.eks.$h$2
Således fil navnet kan ændres alt efter hvad der er valgt.

In english:
I have a path :
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
Can't i change the name "Hejsa" to a Cell reff. f.eks. $h$2
So the name on the file change after what there are in celle $h$2

thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Sti / path?

Hi
not possible with using the build-in INDIRECT function as this can't
access closed workbooks. But see:http://tinyurl.com/2c62u for some
alternatives. In your case INDIRECT.EXT should work. use a formula like
=INDIRECT.EXT("'C:\Documents and Settings\User\Dokumenter\[" & $H$2 &
"]fly'!$A$2")


--
Regards
Frank Kabel
Frankfurt, Germany


Semi29 wrote:
Jeg ville hører om man ikke kunne lave en sti hvor der var indflettet
en værdi fra en celle ?? F.eks.
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
det er "Hejsa" jeg ønsker udskiftet med F.eks.$h$2
Således fil navnet kan ændres alt efter hvad der er valgt.

In english:
I have a path :
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
Can't i change the name "Hejsa" to a Cell reff. f.eks. $h$2
So the name on the file change after what there are in celle $h$2

thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Sti / path?

Tanks
I have try with Indirect it dosn't work
do you know where I can get Inderect.ext ?
I can't find it at http://longre.free.fr/english/

Hope you can help -- But remark I'm not so good in Excel

Alvin


"Frank Kabel" skrev:

Hi
not possible with using the build-in INDIRECT function as this can't
access closed workbooks. But see:http://tinyurl.com/2c62u for some
alternatives. In your case INDIRECT.EXT should work. use a formula like
=INDIRECT.EXT("'C:\Documents and Settings\User\Dokumenter\[" & $H$2 &
"]fly'!$A$2")


--
Regards
Frank Kabel
Frankfurt, Germany


Semi29 wrote:
Jeg ville hører om man ikke kunne lave en sti hvor der var indflettet
en værdi fra en celle ?? F.eks.
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
det er "Hejsa" jeg ønsker udskiftet med F.eks.$h$2
Således fil navnet kan ændres alt efter hvad der er valgt.

In english:
I have a path :
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
Can't i change the name "Hejsa" to a Cell reff. f.eks. $h$2
So the name on the file change after what there are in celle $h$2

thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Sti / path?

Yes yes I see it no and it works thanks thanks
I'm very glad for your help
I have another ?
I have a dropdownboks no problems if i use it normal
but can't I use it with several Celle reff.
i would like to have teh reff. from B1 And F1 And J1
in my dopdownboks can I this??

Best regards

Alvin


"Frank Kabel" skrev:

Hi
not possible with using the build-in INDIRECT function as this can't
access closed workbooks. But see:http://tinyurl.com/2c62u for some
alternatives. In your case INDIRECT.EXT should work. use a formula like
=INDIRECT.EXT("'C:\Documents and Settings\User\Dokumenter\[" & $H$2 &
"]fly'!$A$2")


--
Regards
Frank Kabel
Frankfurt, Germany


Semi29 wrote:
Jeg ville hører om man ikke kunne lave en sti hvor der var indflettet
en værdi fra en celle ?? F.eks.
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
det er "Hejsa" jeg ønsker udskiftet med F.eks.$h$2
Således fil navnet kan ændres alt efter hvad der er valgt.

In english:
I have a path :
='C:\Documents and Settings\User\Dokumenter\[hejsa.xls]fly'!$A$2
Can't i change the name "Hejsa" to a Cell reff. f.eks. $h$2
So the name on the file change after what there are in celle $h$2

thanks



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
File Path Too Long? Not Anymore! Check out Long Path Tool Max Loger Excel Discussion (Misc queries) 1 March 24th 17 07:59 AM
http://CannotDeleteFile.net - Cannot Delete File? Try Long Path ToolFilename is too long? Computer Complaining Your Filename Is Too Long? TheLong Path Tool Can Help While most people can go about their businessblissfully unaware of the Windo Max Loger Excel Discussion (Misc queries) 0 June 14th 11 04:30 PM
Formula too long - new file path is shorter than old file path - Excel 2003 Greg J Excel Worksheet Functions 1 November 22nd 06 05:16 PM
hyperlink navigation path path wrong in Excel 2003 CE Admin Excel Discussion (Misc queries) 5 January 7th 06 07:47 PM
how to change absolute path to relative path hwijgerse Excel Worksheet Functions 0 November 25th 05 07:18 AM


All times are GMT +1. The time now is 07:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"