#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default File path

Hi All

The followig does not display the contents of D111.also it will not open
Tour Managers Spreadsheet , which is the sheet name inside Tour Managers
Spreadsheet Workbook.
In order to to eliminate the actual formula, can anybody see anything
physically wrong with the layout

=HYPERLINK(MID(CELL("FILENAME"),1,FIND("[",CELL("filename"))-10)&"Road
accounting program\Road Accounting Package\Road Managers Package\Tour
managers Spreadsheet.xls]'Tour Managers Spreadsheet'!",D111)

Thanks for looking

Stew

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default File path

Usually safest to use CELL("FILENAME",A1) rather than CELL("FILENAME")
See Excel help for the CELL function.
--
David Biddulph

"stew" wrote in message
...
Hi All

The followig does not display the contents of D111.also it will not open
Tour Managers Spreadsheet , which is the sheet name inside Tour Managers
Spreadsheet Workbook.
In order to to eliminate the actual formula, can anybody see anything
physically wrong with the layout

=HYPERLINK(MID(CELL("FILENAME"),1,FIND("[",CELL("filename"))-10)&"Road
accounting program\Road Accounting Package\Road Managers Package\Tour
managers Spreadsheet.xls]'Tour Managers Spreadsheet'!",D111)

Thanks for looking

Stew



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default File path

Hi David

I have changed that but other than that does the formula look right? Still
no success

Best

Stew

"David Biddulph" wrote:

Usually safest to use CELL("FILENAME",A1) rather than CELL("FILENAME")
See Excel help for the CELL function.
--
David Biddulph

"stew" wrote in message
...
Hi All

The followig does not display the contents of D111.also it will not open
Tour Managers Spreadsheet , which is the sheet name inside Tour Managers
Spreadsheet Workbook.
In order to to eliminate the actual formula, can anybody see anything
physically wrong with the layout

=HYPERLINK(MID(CELL("FILENAME"),1,FIND("[",CELL("filename"))-10)&"Road
accounting program\Road Accounting Package\Road Managers Package\Tour
managers Spreadsheet.xls]'Tour Managers Spreadsheet'!",D111)

Thanks for looking

Stew




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default File path

If you want to open the file to a specific worksheet, you're going to have to
include a specific cell, too (A1???).

Untested:

=HYPERLINK("file:\\\\"&MID(CELL("FILENAME",a1),1,
FIND("[",CELL("filename",a1))-10)
& "Road accounting program\Road Accounting Package"
& "\Road Managers Package\Tour managers Spreadsheet.xls]'"
& "Tour Managers Spreadsheet'!a1",D111)



stew wrote:

Hi David

I have changed that but other than that does the formula look right? Still
no success

Best

Stew

"David Biddulph" wrote:

Usually safest to use CELL("FILENAME",A1) rather than CELL("FILENAME")
See Excel help for the CELL function.
--
David Biddulph

"stew" wrote in message
...
Hi All

The followig does not display the contents of D111.also it will not open
Tour Managers Spreadsheet , which is the sheet name inside Tour Managers
Spreadsheet Workbook.
In order to to eliminate the actual formula, can anybody see anything
physically wrong with the layout

=HYPERLINK(MID(CELL("FILENAME"),1,FIND("[",CELL("filename"))-10)&"Road
accounting program\Road Accounting Package\Road Managers Package\Tour
managers Spreadsheet.xls]'Tour Managers Spreadsheet'!",D111)

Thanks for looking

Stew





--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default File path

Hi dave

What I am trying to , I have now discoverd, does not require a Hyperlink
I am trying to replace a straight forward file path, shown below

='C:\Users\Welcome\Stewarts Files\Road accounting program\Road Accounting
Package\Production Managers Package\[Production Managers
Spreadsheet.xls]Production Managers Spreadsheet'!D111

With

=MID(CELL("filename"),1,FIND("[",CELL("filename"))-25)&"Production Managers
Package\[Production Managers Spreadsheet.xls]Production Managers
Spreadsheet'!D111"

=MID(CELL("filename"),1,FIND("[",CELL("filename"))-25) gives me

C:\Users\Welcome\Stewarts Files\Road accounting program\Road Accounting
Package\

So what am I doing wrong?

Best

Stewart



"Dave Peterson" wrote:

If you want to open the file to a specific worksheet, you're going to have to
include a specific cell, too (A1???).

Untested:

=HYPERLINK("file:\\\\"&MID(CELL("FILENAME",a1),1,
FIND("[",CELL("filename",a1))-10)
& "Road accounting program\Road Accounting Package"
& "\Road Managers Package\Tour managers Spreadsheet.xls]'"
& "Tour Managers Spreadsheet'!a1",D111)



stew wrote:

Hi David

I have changed that but other than that does the formula look right? Still
no success

Best

Stew

"David Biddulph" wrote:

Usually safest to use CELL("FILENAME",A1) rather than CELL("FILENAME")
See Excel help for the CELL function.
--
David Biddulph

"stew" wrote in message
...
Hi All

The followig does not display the contents of D111.also it will not open
Tour Managers Spreadsheet , which is the sheet name inside Tour Managers
Spreadsheet Workbook.
In order to to eliminate the actual formula, can anybody see anything
physically wrong with the layout

=HYPERLINK(MID(CELL("FILENAME"),1,FIND("[",CELL("filename"))-10)&"Road
accounting program\Road Accounting Package\Road Managers Package\Tour
managers Spreadsheet.xls]'Tour Managers Spreadsheet'!",D111)

Thanks for looking

Stew





--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 293
Default File path

..
Hi all

Ok Improvement but Still not sucessful

This is the file path I am trying to generate

='C:\Users\Welcome\Stewarts Files\Road accounting program\Road Accounting
Package\Production Managers Package\[Production Managers
Spreadsheet.xls]Production Managers Spreadsheet'!D111

I have now used

=("="&"'"&(MID(CELL("filename"),1,FIND("[",CELL("filename"))-25)))&"Production
Managers Package"&"\"&"["&"Production Managers
Spreadsheet.xls"&"]"&"Production Managers Spreadsheet'!D111"

Which gives me

='C:\Users\Welcome\Stewarts Files\Road accounting program\Road Accounting
Package\Production Managers Package\[Production Managers
Spreadsheet.xls]Production Managers Spreadsheet'!D111

However it shows the formula and not the result

Can anybody help!!!

Best

Stewart

"stew" wrote:

Hi dave

What I am trying to , I have now discoverd, does not require a Hyperlink
I am trying to replace a straight forward file path, shown below

='C:\Users\Welcome\Stewarts Files\Road accounting program\Road Accounting
Package\Production Managers Package\[Production Managers
Spreadsheet.xls]Production Managers Spreadsheet'!D111

With

=MID(CELL("filename"),1,FIND("[",CELL("filename"))-25)&"Production Managers
Package\[Production Managers Spreadsheet.xls]Production Managers
Spreadsheet'!D111"

=MID(CELL("filename"),1,FIND("[",CELL("filename"))-25) gives me

C:\Users\Welcome\Stewarts Files\Road accounting program\Road Accounting
Package\

So what am I doing wrong?

Best

Stewart



"Dave Peterson" wrote:

If you want to open the file to a specific worksheet, you're going to have to
include a specific cell, too (A1???).

Untested:

=HYPERLINK("file:\\\\"&MID(CELL("FILENAME",a1),1,
FIND("[",CELL("filename",a1))-10)
& "Road accounting program\Road Accounting Package"
& "\Road Managers Package\Tour managers Spreadsheet.xls]'"
& "Tour Managers Spreadsheet'!a1",D111)



stew wrote:

Hi David

I have changed that but other than that does the formula look right? Still
no success

Best

Stew

"David Biddulph" wrote:

Usually safest to use CELL("FILENAME",A1) rather than CELL("FILENAME")
See Excel help for the CELL function.
--
David Biddulph

"stew" wrote in message
...
Hi All

The followig does not display the contents of D111.also it will not open
Tour Managers Spreadsheet , which is the sheet name inside Tour Managers
Spreadsheet Workbook.
In order to to eliminate the actual formula, can anybody see anything
physically wrong with the layout

=HYPERLINK(MID(CELL("FILENAME"),1,FIND("[",CELL("filename"))-10)&"Road
accounting program\Road Accounting Package\Road Managers Package\Tour
managers Spreadsheet.xls]'Tour Managers Spreadsheet'!",D111)

Thanks for looking

Stew





--

Dave Peterson

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
Variabilize File Path or File Name in SumProduct (and Vlookup too) Mike H. Excel Worksheet Functions 2 January 7th 08 09:34 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
file path Jane Excel Discussion (Misc queries) 2 August 18th 06 03:03 PM
file path Jane Excel Discussion (Misc queries) 1 August 17th 06 05:08 PM
Excel updating from XML file - file path specific? Sean Excel Discussion (Misc queries) 4 August 5th 05 12:56 PM


All times are GMT +1. The time now is 12:08 AM.

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

About Us

"It's about Microsoft Excel"