+ Reply to Thread
Results 1 to 8 of 8

scroll linked cell to upper left position

Hybrid View

  1. #1
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: scroll linked cell to upper left position

    I'd prefer:

    Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
     Application.Goto Evaluate(Target.SubAddress), True
    End Sub
    In the codemodule of sheet1
    Last edited by snb; 10-09-2011 at 05:44 PM.



  2. #2
    Registered User
    Join Date
    10-09-2011
    Location
    La Grange, KY USA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: scroll linked cell to upper left position

    Quote Originally Posted by snb View Post
    I'd prefer:

    Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
     Application.Goto Evaluate(Target.SubAddress), True
    End Sub
    In the codemodule of sheet1
    I tried this code in both code modules of the Workbook and Sheet1 but it doesn't work. I've also tried creating a module and putting it in there but no luck. I'm trying anything at this point. I've tried several other pieces of code with no luck. I'm probably putting it in the wrong place. If that's the case, can someone tell show me where it goes. I even downloaded a spreadsheet that has this code init and it worked at first but then stopped working. I have no idea why?

    I've attached a sample spreadsheet of what I'm trying to do.

    Please help!

    Thanks,
    George
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1