Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Excel 2003 - hyperlink to a location in the same file

When I create a hyperlink to a location within the same Excel 2003 file, it
goes to that location, but often, the location appears at the bottom of the
screen and then I have to scroll down to see the rest of the information
below the hyperlink.

Is there a way to have the hyperlinked location automatically appear at the
top of the Excel screen when you hyperlink to it?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excel 2003 - hyperlink to a location in the same file

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 a hyperlink will bring the destination cell to top left of sheet.


Gord Dibben MS Excel MVP


On Mon, 29 Jun 2009 08:08:01 -0700, Silverstreak
wrote:

When I create a hyperlink to a location within the same Excel 2003 file, it
goes to that location, but often, the location appears at the bottom of the
screen and then I have to scroll down to see the rest of the information
below the hyperlink.

Is there a way to have the hyperlinked location automatically appear at the
top of the Excel screen when you hyperlink to it?


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
Default File Location-Excel 2003 MBF Excel Discussion (Misc queries) 3 February 27th 09 06:00 PM
Excel 2003 default file location GeoffA Excel Discussion (Misc queries) 2 October 15th 07 05:13 PM
File Location Hyperlink Aggie G Setting up and Configuration of Excel 0 May 5th 07 05:40 PM
Excel 2003: cannot locate default file location Spokaneman Excel Discussion (Misc queries) 2 March 10th 06 07:17 PM
Excel 2003: cannot find default file location Spokaneman Excel Discussion (Misc queries) 1 March 10th 06 06:58 PM


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