Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default recalculate hyperlink location

I have a spreadsheet that changes often. After inserting or deleting a line
the location of my hyperlinks change. Is there any way to automatically
recalculate the location of the hyperlinks instead of changing then all
manually?
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default recalculate hyperlink location

If you are setting a hyperlink to a place in your worksheet, use a Named
Range rather than an absolute address:

Instead of:
=HYPERLINK("#Sheet3!$A$1")
use something like:
=HYPERLINK("#"&CELL("address",alpha),alpha)

where alpha has been set with:
Insert names Define...

The trick is that the Name adjusts as rows/columns are inserted/deleted.
--
Gary''s Student - gsnu200841


"Goforth" wrote:

I have a spreadsheet that changes often. After inserting or deleting a line
the location of my hyperlinks change. Is there any way to automatically
recalculate the location of the hyperlinks instead of changing then all
manually?
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default recalculate hyperlink location

Naming the target of the hyperlink makes those Insert|Hyperlink type hyperlinks
work much better.

But if the OP is using the worksheet function, he or she doesn't need to name
the range.

This kind of formula will adjust, too:

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



Gary''s Student wrote:

If you are setting a hyperlink to a place in your worksheet, use a Named
Range rather than an absolute address:

Instead of:
=HYPERLINK("#Sheet3!$A$1")
use something like:
=HYPERLINK("#"&CELL("address",alpha),alpha)

where alpha has been set with:
Insert names Define...

The trick is that the Name adjusts as rows/columns are inserted/deleted.
--
Gary''s Student - gsnu200841

"Goforth" wrote:

I have a spreadsheet that changes often. After inserting or deleting a line
the location of my hyperlinks change. Is there any way to automatically
recalculate the location of the hyperlinks instead of changing then all
manually?
Thanks


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default recalculate hyperlink location



"Gary''s Student" wrote:

If you are setting a hyperlink to a place in your worksheet, use a Named
Range rather than an absolute address:

Instead of:
=HYPERLINK("#Sheet3!$A$1")
use something like:
=HYPERLINK("#"&CELL("address",alpha),alpha)

where alpha has been set with:
Insert names Define...

The trick is that the Name adjusts as rows/columns are inserted/deleted.
--
Gary''s Student - gsnu200841


"Goforth" wrote:

I have a spreadsheet that changes often. After inserting or deleting a line
the location of my hyperlinks change. Is there any way to automatically
recalculate the location of the hyperlinks instead of changing then all
manually?
Thanks


I can't thank you enough! You've save me a lot of time.
Glenn

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default recalculate hyperlink location



"Dave Peterson" wrote:

Naming the target of the hyperlink makes those Insert|Hyperlink type hyperlinks
work much better.

But if the OP is using the worksheet function, he or she doesn't need to name
the range.

This kind of formula will adjust, too:

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



Gary''s Student wrote:

If you are setting a hyperlink to a place in your worksheet, use a Named
Range rather than an absolute address:

Instead of:
=HYPERLINK("#Sheet3!$A$1")
use something like:
=HYPERLINK("#"&CELL("address",alpha),alpha)

where alpha has been set with:
Insert names Define...

The trick is that the Name adjusts as rows/columns are inserted/deleted.
--
Gary''s Student - gsnu200841

"Goforth" wrote:

I have a spreadsheet that changes often. After inserting or deleting a line
the location of my hyperlinks change. Is there any way to automatically
recalculate the location of the hyperlinks instead of changing then all
manually?
Thanks


--

Dave Peterson
Dave,

Thanks to both of you. This is exactly what I was looking for!
Glenn

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
Hyperlink to workbook location jaclh2o Excel Worksheet Functions 0 September 23rd 08 08:28 PM
File Location Hyperlink Aggie G Setting up and Configuration of Excel 0 May 5th 07 05:40 PM
Hyperlink to paste in other location obiwootenubi Links and Linking in Excel 0 August 30th 06 05:22 AM
Browsing to Hyperlink location Cheri Excel Discussion (Misc queries) 4 July 7th 06 12:10 PM
Hyperlink Location Ryan Parker via OfficeKB.com Links and Linking in Excel 6 June 26th 05 08:45 AM


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