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
 

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

Back
Top