Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,069
Default How do I get the hyperlink destination cell to appear at top of sc

Hi - I want to hyperlink within the same Excel sheet. When I do, the
destination cell appears at the bottom of the screen. How do I get it to
appear at the top?
Thanks.

-- John
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default How do I get the hyperlink destination cell to appear at top of sc

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

This is sheet event code. Right-click on the sheet tab and "View Code".

Copy/paste the code into that module.

A click on the hyperlink will bring the destination cell to top left of
sheet.


Gord Dibben MS Excel MVP


On Sun, 25 Oct 2009 11:55:01 -0700, John
wrote:

Hi - I want to hyperlink within the same Excel sheet. When I do, the
destination cell appears at the bottom of the screen. How do I get it to
appear at the top?
Thanks.

-- John


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 formula with destination in same worksheet thexdane Excel Worksheet Functions 1 November 6th 07 01:27 AM
hyperlink destination gcaramaliu Excel Discussion (Misc queries) 1 February 20th 07 01:53 PM
Hyperlink Destination Positioning On Screen Mike Rice Excel Worksheet Functions 0 November 8th 06 05:27 PM
Hyperlink using a variable destination Christos T Excel Worksheet Functions 1 October 24th 06 02:31 PM
Change Hyperlink Destination Folder Ron Excel Discussion (Misc queries) 2 July 18th 05 12:55 PM


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