Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Hyperlink probelm

I have a spreadsheet with a couple of worksheets, in one of the
worksheets I have a hyperlink to a specific cell in the other
worksheet.

e.g. Cell A1 in worksheet 1 has a link to cell A2 in worksheet 2 (with
the text 'Phone' in it). If I was to insert a row above row 2 in
worksheet 2, I still want the link in worksheet 1 to take me to the
cell with the text 'Phone' in it (Which is now A3 after I have inserted
the row).

I realise I can go and change the link manually, but the example above
is a simplfied version of my document and inserting a row moves about
30 hyperlinks!!!

Any help would be greatly appreciated.

Cheers
Glenn

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Hyperlink probelm

I have a hyperlink to a specific cell in the other
worksheet.

That is the key to your problem. You don't want a specific cell. You want a
specific Defined Name. You are going to have to bite the bullet and spend
some time to give each cell on sheet 2 that you want to link from another
sheet, a name (Insert/Name/Define). Then edit each hyperlink on sheet 1 to
reference a Defined Name. A list of the names you created will appear in the
drop down box when you click the + beside Defined Name. Excel will keep
track of defined names no matter where they are in the workbook.

Mike F



"Glenn Richardson" wrote in message
ups.com...
I have a spreadsheet with a couple of worksheets, in one of the
worksheets I have a hyperlink to a specific cell in the other
worksheet.

e.g. Cell A1 in worksheet 1 has a link to cell A2 in worksheet 2 (with
the text 'Phone' in it). If I was to insert a row above row 2 in
worksheet 2, I still want the link in worksheet 1 to take me to the
cell with the text 'Phone' in it (Which is now A3 after I have inserted
the row).

I realise I can go and change the link manually, but the example above
is a simplfied version of my document and inserting a row moves about
30 hyperlinks!!!

Any help would be greatly appreciated.

Cheers
Glenn



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

You've got another reply at one of your other posts.

Glenn Richardson wrote:

I have a spreadsheet with a couple of worksheets, in one of the
worksheets I have a hyperlink to a specific cell in the other
worksheet.

e.g. Cell A1 in worksheet 1 has a link to cell A2 in worksheet 2 (with
the text 'Phone' in it). If I was to insert a row above row 2 in
worksheet 2, I still want the link in worksheet 1 to take me to the
cell with the text 'Phone' in it (Which is now A3 after I have inserted
the row).

I realise I can go and change the link manually, but the example above
is a simplfied version of my document and inserting a row moves about
30 hyperlinks!!!

Any help would be greatly appreciated.

Cheers
Glenn


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Hyperlink probelm

The Insert/Name/Define has worked a treat.

Many thanks
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
Probelm with macro mac Excel Worksheet Functions 5 January 14th 08 07:47 PM
Hyperlink probelm Glenn Richardson Excel Worksheet Functions 2 August 30th 05 02:26 PM
Hyperlink probelm Glenn Richardson Excel Discussion (Misc queries) 1 August 30th 05 01:44 PM
Range probelm in VB6 K.K.[_2_] Excel Programming 4 July 1st 04 12:07 PM
textbox counter probelm l1075 Excel Programming 2 May 3rd 04 02:52 AM


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