Yet Another Hyperlink Question

Dragon

Registered User.
Local time
Today, 20:48
Joined
Aug 26, 2003
Messages
26
Okay, forgive me if this is a stupid question but sometimes the obvious escapes me…

I want to use code to produce the same effect as when you right click on a text box (formatted as hyperlink) and select Edit Hyperlink.

So that when a person left clicks on the field the Insert Hyperlink dialog box appears.

Any way to do that?

Thanks
 
Dragon said:
I want to use code to produce the same effect as when you right click on a text box (formatted as hyperlink) and select Edit Hyperlink.

So that when a person left clicks on the field the Insert Hyperlink dialog box appears.
Thanks
Code:
Private Sub test_Click()
     DoCmd.RunCommand acCmdEditHyperlink
End Sub
You will need to trap if the user clicks the Cancel button.

HTH
 
ghudson said:
Code:
Private Sub test_Click()
     DoCmd.RunCommand acCmdEditHyperlink
End Sub
You will need to trap if the user clicks the Cancel button.

HTH


Thanks. Just what i needed. :)
 

Users who are viewing this thread

Back
Top Bottom