Insert Hyperlink button

  • Thread starter Thread starter Brant
  • Start date Start date
B

Brant

When you go to the properties of a hyperlink box, you are able to browse
for a hyperlink when you click on the button next to hyperlink address.
What I want to be able to do is put a button in my form that opens up
this same window and allows you to browse for the hyperlink. How can
this be done. Thanks in advance
 
The button has focus when you click it, so you need to set focus to the
hyperlink text box, and the use the RunCommand constant to open the insert
hyperlink dialog.

Example:
Me.[YourTextBoxNameHere].SetFocus
RunCommand acCmdInsertHyperlink
 
Back
Top