#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Hyperlinks

Hi All,

I have hyperlinks in a sheet and I have used the Hyperlink Function
(=HYPERLINK("[forecast-template-final.xls]b248","Enter COST")).

The problem I am facing is users change the file name. Is there any
way to make this hyperlink dynamic so that the appropriate file name
is captured.

Any suggestions.??

I thought of having a cell where I can pull the file name and have the
hyperlink refer to this cell. Will this work? What is the most
effective way of addressing this problem.

Thanks for your time
Vishnu
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Hyperlinks

A multi-step approach. Say we want to "jump to" a workbook currently named
poster.xls. The name of this workbook may change in the future. First we
put a marker in poster. In A1 and A2 enter:

=CELL("filename",A1)
=SUBSTITUTE(LEFT(A1,FIND("]",A1)-1),"[","")

Now back in the main workbook in A1 and A2 we put:

=[poster.xls]Sheet3!$A$2
=HYPERLINK("file:///" & A1)
to see:

C:\Documents and Settings\Owner\Desktop\poster.xls
file:///C:\Documents and Settings\Owner\Desktop\poster.xls

Because the formula in A1 is a simple link rather than a hyperlink, it can
be refreshed in the usual way if poster.xls is either changed or moved.

--
Gary''s Student - gsnu200783 gsnuxx


" wrote:

Hi All,

I have hyperlinks in a sheet and I have used the Hyperlink Function
(=HYPERLINK("[forecast-template-final.xls]b248","Enter COST")).

The problem I am facing is users change the file name. Is there any
way to make this hyperlink dynamic so that the appropriate file name
is captured.

Any suggestions.??

I thought of having a cell where I can pull the file name and have the
hyperlink refer to this cell. Will this work? What is the most
effective way of addressing this problem.

Thanks for your time
Vishnu

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
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
How toi turn-off hyperlinks [excel]? Email hyperlinks pop up ! jacob735 Excel Discussion (Misc queries) 1 June 22nd 07 12:57 AM
Excel Hyperlinks- cell content v. hyperlinks herpetafauna Excel Discussion (Misc queries) 2 May 23rd 06 04:39 AM
Hyperlinks ZAF Excel Discussion (Misc queries) 0 May 15th 06 04:43 AM


All times are GMT +1. The time now is 03:49 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"