Question: could you please say a few words about how to use a follow
hyperlink event?
I know how to create a Sub Procedure in the VBE, and I know how to assign
the procedure to a command button. But how do you "follow" a "hyperlink
event?"
The followhyperlink method is availabel in xl2000 and later.
right click on the sheet tab and select view code
At the top of the module,
in the left dropdown, select WorkSheet
In the righ dropdown select followhyperlink
Private Sub FollowHyperLink(byVal Target as hyperlink)
if hyperlink.Address = "yourhyperlinkaddress" then
call MyMacro
End if
End Sub
That should have said,
The followhyperlink Event is available in xl2000 and later.
sorry about that.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.