Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Hyperlink-link so that when a cell moves the link also moves?

with a hyperlink to a cell, when that cell moves (for whatever reason) is it
possible to make the hyperlink move with it.

Many thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Hyperlink-link so that when a cell moves the link also moves?

peters,

I've never used hyperlinks to other cells, but I notice that you can point
it to a named range. Then the link still points to the same cell if you add
rows above it, etc. But the link shows the range name, not the cell
address, which could be a good thing or a bad thing, I guess.

hth,

Doug


"peters" wrote in message
...
with a hyperlink to a cell, when that cell moves (for whatever reason) is
it
possible to make the hyperlink move with it.

Many thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Hyperlink-link so that when a cell moves the link also moves?

Another way is to use the =hyperlink() worksheet formula. Since it's a normal
formula, it reacts to inserting/deleting of rows/columns.

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)



peters wrote:

with a hyperlink to a cell, when that cell moves (for whatever reason) is it
possible to make the hyperlink move with it.

Many thanks


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default Hyperlink-link so that when a cell moves the link also moves?

And it still works if you change the sheet or workbook name. It's one of
those formulas I'll never remember on my own - I never find the Cell
function easy to use - but it's cool.

I played around with it a bit more. If you want the hyperlink to show the
cell address - rather than it's contents - this seems to work. Most of the
additional bulk of the formula is due to stripping out the workbook name,
which would be redundant.

=HYPERLINK("#"&CELL("address",Sheet1!A1),MID(CELL( "address",Sheet1!A1),FIND("]",CELL("address",Sheet1!A1))+1,256))

Doug


"Dave Peterson" wrote in message
...
Another way is to use the =hyperlink() worksheet formula. Since it's a
normal
formula, it reacts to inserting/deleting of rows/columns.

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)



peters wrote:

with a hyperlink to a cell, when that cell moves (for whatever reason) is
it
possible to make the hyperlink move with it.

Many thanks


--

Dave Peterson



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Hyperlink-link so that when a cell moves the link also moves?

I have to find David McRitchie's post each time I want to use it <bg.

Doug Glancy wrote:

And it still works if you change the sheet or workbook name. It's one of
those formulas I'll never remember on my own - I never find the Cell
function easy to use - but it's cool.

I played around with it a bit more. If you want the hyperlink to show the
cell address - rather than it's contents - this seems to work. Most of the
additional bulk of the formula is due to stripping out the workbook name,
which would be redundant.

=HYPERLINK("#"&CELL("address",Sheet1!A1),MID(CELL( "address",Sheet1!A1),FIND("]",CELL("address",Sheet1!A1))+1,256))

Doug

"Dave Peterson" wrote in message
...
Another way is to use the =hyperlink() worksheet formula. Since it's a
normal
formula, it reacts to inserting/deleting of rows/columns.

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)



peters wrote:

with a hyperlink to a cell, when that cell moves (for whatever reason) is
it
possible to make the hyperlink move with it.

Many thanks


--

Dave Peterson


--

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
reference automatically moves from one cell to the next Ryan New Users to Excel 1 July 23rd 08 08:31 PM
Cell reference moves Big Geoff Excel Discussion (Misc queries) 1 November 7th 07 01:32 PM
Tab key moves a whole page across, not a cell - help? Emma Excel Discussion (Misc queries) 1 March 29th 06 12:49 AM
exel hyperlink moves when adding new row or column swef Excel Discussion (Misc queries) 1 February 17th 06 05:46 PM
Active cell moves off the screen John W. Excel Discussion (Misc queries) 1 November 15th 05 11:12 PM


All times are GMT +1. The time now is 10:41 AM.

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"