A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

hyperlink to a cell: adjusting for changes?



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2010, 01:18 PM posted to microsoft.public.excel.misc
George[_24_]
external usenet poster
 
Posts: 5
Default hyperlink to a cell: adjusting for changes?

(Excel 2002)

I recently discovered that Excel can hyperlink to another cell in the
same workbook, which looks to be very useful. In this re, ...

Using (row,col) designation, the link's 'reference' (using the word
loosly) appears to be absolute: If I set it to 'A31', and then
insert/delete row 29, the link will still be to 'A31' - as if I'd spec'd
$A$31, in most other contexts.

I know I can get around this by referencing a 'named' target cell. This
is OK, ... but, a litte more effort.

So, just to be sure I'm not missing something, is there a way to specify
a (row,col)-type hyperlink, so that it gets adjusted when insert/delete
changes move the target cell?

Thanks,
George
  #2  
Old April 22nd, 2010, 01:40 PM posted to microsoft.public.excel.misc
Luke M[_4_]
external usenet poster
 
Posts: 451
Default hyperlink to a cell: adjusting for changes?

Try this:

=HYPERLINK("[My Workbook.xls]'My Sheet'!"&ADDRESS(ROW('My
Sheet'!A31),COLUMN('My Sheet'!A31)),"Named Link")

Now as the cell A31 on My Sheet moves around, the hyperlink will adjust
accordingly.

--
Best Regards,

Luke M
"George" wrote in message
...
(Excel 2002)

I recently discovered that Excel can hyperlink to another cell in the
same workbook, which looks to be very useful. In this re, ...

Using (row,col) designation, the link's 'reference' (using the word
loosly) appears to be absolute: If I set it to 'A31', and then
insert/delete row 29, the link will still be to 'A31' - as if I'd spec'd
$A$31, in most other contexts.

I know I can get around this by referencing a 'named' target cell. This
is OK, ... but, a litte more effort.

So, just to be sure I'm not missing something, is there a way to specify
a (row,col)-type hyperlink, so that it gets adjusted when insert/delete
changes move the target cell?

Thanks,
George



  #3  
Old April 22nd, 2010, 02:00 PM posted to microsoft.public.excel.misc
Richard
external usenet poster
 
Posts: 1,419
Default hyperlink to a cell: adjusting for changes?

Presumably you mean in another workbook.
If this is the case then have both workbooks open when making the changes
and excel will do all the work for you.

"George" wrote:

(Excel 2002)

I recently discovered that Excel can hyperlink to another cell in the
same workbook, which looks to be very useful. In this re, ...

Using (row,col) designation, the link's 'reference' (using the word
loosly) appears to be absolute: If I set it to 'A31', and then
insert/delete row 29, the link will still be to 'A31' - as if I'd spec'd
$A$31, in most other contexts.

I know I can get around this by referencing a 'named' target cell. This
is OK, ... but, a litte more effort.

So, just to be sure I'm not missing something, is there a way to specify
a (row,col)-type hyperlink, so that it gets adjusted when insert/delete
changes move the target cell?

Thanks,
George
.

  #4  
Old April 22nd, 2010, 02:03 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default hyperlink to a cell: adjusting for changes?

If you're using the Insert|hyperlink version of hyperlinks, then you'll want to
name that target. These hyperlinks don't adjust when you delete/insert rows or
columns.

If you're using the =hyperlink() worksheet function, you could make sure that
you open both (all???) files before you make changes. (Assuming that your
formulas are straightforward.)

But if you don't want to open that workbook with those =hyperlink() formulas,
then you'll want to name the targets.



George wrote:

(Excel 2002)

I recently discovered that Excel can hyperlink to another cell in the
same workbook, which looks to be very useful. In this re, ...

Using (row,col) designation, the link's 'reference' (using the word
loosly) appears to be absolute: If I set it to 'A31', and then
insert/delete row 29, the link will still be to 'A31' - as if I'd spec'd
$A$31, in most other contexts.

I know I can get around this by referencing a 'named' target cell. This
is OK, ... but, a litte more effort.

So, just to be sure I'm not missing something, is there a way to specify
a (row,col)-type hyperlink, so that it gets adjusted when insert/delete
changes move the target cell?

Thanks,
George


--

Dave Peterson
  #5  
Old April 22nd, 2010, 02:11 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default hyperlink to a cell: adjusting for changes?

But if you don't want to open that workbook with those =hyperlink() formulas,
then you'll want to name the targets.

Should have been:

But if you don't want to open those target workbooks that your =hyperlink()
formulas point to, then you'll want to name the targets.



Dave Peterson wrote:

If you're using the Insert|hyperlink version of hyperlinks, then you'll want to
name that target. These hyperlinks don't adjust when you delete/insert rows or
columns.

If you're using the =hyperlink() worksheet function, you could make sure that
you open both (all???) files before you make changes. (Assuming that your
formulas are straightforward.)

But if you don't want to open that workbook with those =hyperlink() formulas,
then you'll want to name the targets.

George wrote:

(Excel 2002)

I recently discovered that Excel can hyperlink to another cell in the
same workbook, which looks to be very useful. In this re, ...

Using (row,col) designation, the link's 'reference' (using the word
loosly) appears to be absolute: If I set it to 'A31', and then
insert/delete row 29, the link will still be to 'A31' - as if I'd spec'd
$A$31, in most other contexts.

I know I can get around this by referencing a 'named' target cell. This
is OK, ... but, a litte more effort.

So, just to be sure I'm not missing something, is there a way to specify
a (row,col)-type hyperlink, so that it gets adjusted when insert/delete
changes move the target cell?

Thanks,
George


--

Dave Peterson


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:19 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.