Results 1 to 5 of 5

Thread: [RESOLVED] Excel internal link

  1. #1

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Resolved [RESOLVED] Excel internal link

    In an xlxs workbook on Sheet1 there is a textbox that when clicked takes me to Sheet2!A1, How is a link like that created?

  2. #2
    PowerPoster
    Join Date
    Nov 2017
    Posts
    3,632

    Re: Excel internal link

    Code:
    Private Sub TextBox1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
        Application.Goto Reference:=Worksheets("Sheet2").Range("A1"), Scroll:=True
    End Sub

  3. #3
    PowerPoster Zvoni's Avatar
    Join Date
    Sep 2012
    Location
    To the moon and then left
    Posts
    5,264

    Re: Excel internal link

    Quote Originally Posted by MartinLiss View Post
    In an xlxs workbook on Sheet1 there is a textbox that when clicked takes me to Sheet2!A1, How is a link like that created?
    Are you sure it's a TEXTBOX?

    Screenshot?
    Last edited by Zvoni; Tomorrow at 31:69 PM.
    ----------------------------------------------------------------------------------------

    One System to rule them all, One Code to find them,
    One IDE to bring them all, and to the Framework bind them,
    in the Land of Redmond, where the Windows lie
    ---------------------------------------------------------------------------------
    People call me crazy because i'm jumping out of perfectly fine airplanes.
    ---------------------------------------------------------------------------------
    Code is like a joke: If you have to explain it, it's bad

  4. #4

    Thread Starter
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Excel internal link

    @OB1: It's an xlsx workbook so I don't believe your suggestion can work.
    @Zvoni: Thanks. It definitely is a textbox. However when right-clicking on it I noticed 'Edit Link' which solves my problem.

  5. #5
    Addicted Member
    Join Date
    May 2021
    Posts
    131

    Re: Excel internal link

    Quote Originally Posted by Zvoni View Post
    Are you sure it's a TEXTBOX?

    Screenshot?
    That was my first thought, but I suspect he means the Textbox Shape and not the one you add by way of the Developer tab.

Posting Permissions

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



Click Here to Expand Forum to Full Width