Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 127
Default set hyperlinked cells to always display at the top of the workshee

Dear experts,
I have hyperlinks linked to different cells belonging to the same worksheet.
How can I set Excel to display the linked cells always at the top, and not
sometimes at the top and sometimes at the bottom of the page? It can get very
confusing otherwise to understand which one the linked cell really is.

Thanks in advance,
Best regards,
--
Valeria
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default set hyperlinked cells to always display at the top of the workshee


Valeria wrote:
Dear experts,
I have hyperlinks linked to different cells belonging to the same worksheet.
How can I set Excel to display the linked cells always at the top, and not
sometimes at the top and sometimes at the bottom of the page? It can get very
confusing otherwise to understand which one the linked cell really is.

Thanks in advance,
Best regards,
--
Valeria


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,073
Default set hyperlinked cells to always display at the top of the workshee

Valeria wrote:
Dear experts,
I have hyperlinks linked to different cells belonging to the same worksheet.
How can I set Excel to display the linked cells always at the top, and not
sometimes at the top and sometimes at the bottom of the page? It can get very
confusing otherwise to understand which one the linked cell really is.

Thanks in advance,
Best regards,
--
Valeria


Copy the following code...

Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
ActiveWindow.ScrollRow = ActiveCell.Row
End Sub

Right click the sheet tab, select View Code then paste the code into
the sheet's code module.

Your macro security level will need to be Medium and you will need to
click "Enable Macros" on the "Security Warning" dialog, that appears
when the workbook is opened, for the code to run.

Ken Johnson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 127
Default set hyperlinked cells to always display at the top of the work

This works wonderfully, thanks a lot!
Kind regards

--
Valeria


"Ken Johnson" wrote:

Valeria wrote:
Dear experts,
I have hyperlinks linked to different cells belonging to the same worksheet.
How can I set Excel to display the linked cells always at the top, and not
sometimes at the top and sometimes at the bottom of the page? It can get very
confusing otherwise to understand which one the linked cell really is.

Thanks in advance,
Best regards,
--
Valeria


Copy the following code...

Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
ActiveWindow.ScrollRow = ActiveCell.Row
End Sub

Right click the sheet tab, select View Code then paste the code into
the sheet's code module.

Your macro security level will need to be Medium and you will need to
click "Enable Macros" on the "Security Warning" dialog, that appears
when the workbook is opened, for the code to run.

Ken Johnson


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
Display cells with data validation Anita Excel Discussion (Misc queries) 1 December 20th 05 12:35 PM
Display first, second, etc Nonblank Cells in a Range Jeremy N. Excel Worksheet Functions 12 September 25th 05 01:47 PM
Cells formated as text do not always display properly Cass Excel Discussion (Misc queries) 2 July 23rd 05 01:59 AM
Display empty cells botany_girl Excel Discussion (Misc queries) 7 July 19th 05 06:40 PM
Display empty cells botany_girl Excel Discussion (Misc queries) 1 July 19th 05 05:51 PM


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