Hyperlink Botton

C

Confused Slug

Is it possible / how can you define a control button on a form to work just
like the standard Edit Hyperlink button in the toolbars or by right clicking
on the address ?
 
D

Daniel

something like the following should do:

Function EditHyp()
On Error GoTo Error_EditHyp

DoCmd.RunCommand acCmdEditHyperlink
EditHyp = True

Exit_EditHyp:
Exit Function

Error_EditHyp:
MsgBox Err & ": " & Err.Description
EditHyp = False
Resume Exit_EditHyp

End Function

You might also want to take a look at
http://www.cardaconsultants.com/en/samples.html, specifically the Hyperlinks
sample database.

Daniel
 
Top