Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Nov 2002
    Posts
    387
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hyperlink event (Excel 2000/Sr2)

    Is there a way to capture the event when a hyperlink is clicked.

  2. #2
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Hyperlink event (Excel 2000/Sr2)

    Perhaps you want to look at the FollowHyperlink Event.

    This Code from VBE Help uses the Workbook_SheetFollowHyperlink Event to make a list of all the hyperlinks in Workbook that have been clicked.<pre>Private Sub Workbook_SheetFollowHyperlink(ByVal Sh as Object, _
    ByVal Target As Hyperlink)
    UserForm1.ListBox1.AddItem Sh.Name & ":" & Target.Address
    UserForm1.Show
    End Sub</pre>

    Hope This Helps
    Gre

Posting Permissions

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