Hyperlink in User Form?

  • Thread starter Montana DOJ Help Desk
  • Start date
M

Montana DOJ Help Desk

Word 2000

I have a user form, and I would like to add a hyperlink on the form that
will open another Word document. Is there a way to insert a hyperlink into
a user form?

I know that I can open the document by adding a command button to the form,
but with this particular form, a hyperlink would be a little more elegant.

-- Tom

State of Montana
Department of Justice Help Desk

"Making the world a safer place."
 
D

DA

Hi Tom

If you insert a text label from the "Control toolbox"
toolbar you can assign a click event to it (double-click
the label to open a code window). Place a "Document.Open
Filename:=<name>" call into the sub to create the
required action.

You can format the label to look like a regular hyperlink
from the properties. The control will remain active when
the form is locked in effect giving you the hyperlink.

Dennis.
 
M

Montana DOJ Help Desk

Thanks for the suggestion. I should have thought about that, because one of
my forms uses the click event of a label. I was just so focused on the idea
of adding an actual hyperlink, that it just never occurred to me.

-- Tom

State of Montana
Department of Justice Help Desk

"Making the world a safer place."
 
C

Charles Kenyon

If a user form (custom dialog box) use the procedure already suggested. If
an online form (Word document or template) write back or search the MVP FAQ
for "hyperlink."
 

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

Top