ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   hyperlinks in excell (https://www.excelbanter.com/excel-discussion-misc-queries/23449-hyperlinks-excell.html)

tom jan

hyperlinks in excell
 
is there a way to make hyperlinks in excell 'relative'?
i'd like to copy files without having to change the link.
--
tj

David McRitchie

Hi Tom,
This is an Excel group, if you have excell perhaps you should post in
an excell group, if there is such a thing.

An example of your problem would have been in your best interest
in getting a solution. Rather than forcing someone to guess.as to
your particular problem (and version of Excel/ I'm guessing you have
Excel 97 or Excel 2000, since Excel 2002 does not require the pathname.
The follow gets around having to specify a pathname for the same workbook...

=HYPERLINK("#C5",C5)
=HYPERLINK("#Sheet34!E6",Sheet34!E6)
=HYPERLINK("#'My Sheet'!E6",Sheet34!E9)

=HYPERLINK("#"&CELL("address",C5),C5)
=HYPERLINK("#"&CELL("address",sheetone!C5),sheeton e!C5)
=HYPERLINK("#"&CELL("address",'sheet two'!C5),'sheet two'!C5)

For more information see
http://www.mvps.org/dmcritchie/excel....htm#hyperlink
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: =HYPERLINK("#C5",C5)
=HYPERLINK("#Sheet34!E6",Sheet34!E6)
=HYPERLINK("#'My Sheet'!E6",Sheet34!E9)
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"tom jan" wrote in message ...
is there a way to make hyperlinks in excell 'relative'?
i'd like to copy files without having to change the link.
--
tj





All times are GMT +1. The time now is 11:31 PM.

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