LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Getting HyperLinked Cell to Appear at the Top of the Screen

Thanks very much. Works like a charm!

"Tom Ogilvy" wrote in message ...
right click on the sheet tab (with the hyperlink) and select View code.

In the left dropdown, select worksheet. In the right dropdown select
followhyperlink

This will put the declaration for th event in the module.

It has an argument target which is a hyperlink object. It will hold a
reference to the hyperlink that triggered the event.

Private Sub FollowHyperlink( Target as Hyperlink)
msgbox Target.Range.Address
End Sub

will display the cell address of the hyperlink as an example.

To position the target

Private Sub FollowHyperlink( Target as Hyperlink)
ActiveWindow.ScrollRow = ActiveCell.Row
ActiveWindow.ScrollColumn = ActiveCell.column
End Sub

Worked for me.

--
Regards,
Tom Ogilvy







 
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
Merging a hyperlinked cell with a non-hyperlinked cell? Alex Excel Discussion (Misc queries) 1 September 11th 08 03:14 PM
Setting hyperlinked cells to be displayed at the top of the screen taliqmassaman Excel Discussion (Misc queries) 0 August 4th 06 05:10 PM
bring hyperlinked cell to top of page Tina Excel Worksheet Functions 7 February 16th 06 04:11 PM
Want to click on 1 cell and have it hyperlinked to a highlighted c GutterPunk Excel Worksheet Functions 1 January 31st 05 04:20 AM
How can I cause a cell which is hyperlinked to to display in bold. Chris G. Excel Worksheet Functions 0 January 6th 05 03:15 PM


All times are GMT +1. The time now is 08:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"