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."
DA - 04 Nov 2004 06:47 GMT
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.
>-----Original Message-----
>Word 2000
[quoted text clipped - 14 lines]
>
>.
Montana DOJ Help Desk - 06 Nov 2004 03:21 GMT
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."
> Hi Tom
>
[quoted text clipped - 31 lines]
> >
> >.
Charles Kenyon - 08 Nov 2004 16:28 GMT
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."

Signature
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
> Word 2000
>
[quoted text clipped - 11 lines]
>
> "Making the world a safer place."