#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default hyperlink troubles

how can you programatically move hyperlinks keeping the relative references,
so that the hyperlink is recreated when it is moved.

I have tried using the copy and paste hyperlink but this doesn't alter the
link for the change in location when the workbook is in a different directory
to the intial workbook that it is copied from.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default hyperlink troubles

Does this mean you want to point at the new workbook?

If yes, then I'd use the =hyperlink() worksheet function:

David McRitchie posted this and it might help you:

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

======
But if I insert a hyperlink (using ctrl-k) and then point to a place in this
document, it seems to follow the workbook nicely.

If that's not happening for you, you may want to explain how you added the
hyperlink and what you're doing.

jw4774 wrote:

how can you programatically move hyperlinks keeping the relative references,
so that the hyperlink is recreated when it is moved.

I have tried using the copy and paste hyperlink but this doesn't alter the
link for the change in location when the workbook is in a different directory
to the intial workbook that it is copied from.

Thanks


--

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
Troubles Jonas Krogh Excel Discussion (Misc queries) 1 October 22nd 09 11:14 AM
Pie Chart Troubles Antavas Charts and Charting in Excel 1 October 28th 08 03:24 AM
Formula troubles Excluxe Excel Discussion (Misc queries) 6 July 16th 07 04:16 PM
COM Add-in Troubles Howard Excel Discussion (Misc queries) 0 May 22nd 07 01:59 PM
IF troubles JG Excel Worksheet Functions 6 December 24th 06 04:58 AM


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