Use this example to edit the hyperlink text. This example assumes that you have a text field called txtHyperlink and that the code is behind a command button called cmdHyperText. It also ensures that the cursor is always at the start of the field.
'***************** Code Start ******************* 'Code by Terry Wickenden Private Sub cmdHyperText_Click() Me.txtHyperlink.SetFocus DoCmd.RunCommand acCmdHyperlinkDisplayText Me.txtHyperlink.SelStart = 0 End Sub '****************** Code End ********************
Return to Example List