Insert Hyperlink Dialog Box

D

David

I have a text box that is a hyperlink. When the user
clicks onto the text box I want the Insert Hyperlink
dialog box to pop up. So in the On Click I want to put in
an Event Percedure that will automatically open the Insert
Hyperlink dialog instead of them having to right click
then select Edit Hyperlink. Is there a way to do this
with code?

thanks David
 
A

Allen Browne

Clicking the hyperlink ought to make it activate.
Would you consider adding a small command button next to the field?

Private Sub cmdGoHyper_Click()
Me.[NameOfYourTextBoxHere].SetFocus
RunCommand acCmdInsertHyperlink
End Sub
 

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.

Ask a Question

Top