Solved

Worksheet Focus from hyperlink

Posted on 2011-02-16
5
379 Views
Last Modified: 2012-05-11
I want to click on a hyperlink and make it so the sheet it goes to focuses on a specific cell, then I want the cell to be located in the upper left corner of the screen.  So I have the Hyperlink to a specific cell done, I just dont know how to get the sheet to move up, down, left, right to make the focus point I want.

Any help?
0
Comment
Question by:Chris Pfeiffer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Michael74
ID: 34913309
I am not aware if this can be done using a hyperlink but you could use a button and have a macro to simply select the cell in question
http://excel.tips.net/Pages/T002479_Adding_Buttons_to_Your_Worksheet.html

Michael
0
 
LVL 2

Author Comment

by:Chris Pfeiffer
ID: 34913343
Well right now what I am doing is moving the work sheet to the desired location, then selecting the cell in the bottom right corner of the sheet as the location for my hyperlink to focus on.  The only problem is this will only work for people using the same display setup as me.
0
 
LVL 18

Accepted Solution

by:
Curt Lindstrom earned 500 total points
ID: 34913397
Try this macro as a sheet macro in the sheet you are linking to if you are linking from a another sheet

Private Sub Worksheet_Activate()
    ActiveWindow.ScrollRow = ActiveCell.Row
    ActiveWindow.ScrollColumn = ActiveCell.Column
End Sub

Regards,
Curt
0
 
LVL 18

Expert Comment

by:Curt Lindstrom
ID: 34913409
Use this macro if you are linking from the same sheet

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

End Sub

Regards,
Curt
0
 
LVL 2

Author Closing Comment

by:Chris Pfeiffer
ID: 34913410
Thank you very much!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question