Hyperlink

J

Janbri

Can I install a Hyperlink in a Word Document that can be automatically
'opened' with a single click by any person I send the document to?
 
P

Patrick Cohan

Yes, just go to Insert -> Hyperlink -> and fill in the blanks. Or are you
looking for something more than that?
 
J

Janbri

No, not really. I have installed a hyperlink but depending on the options on
anyone elses PC they would either have to CONTROL + CLICK or just CLICK. Is
there any way I can send a message, containing a hyperlink, outside of a web
page that only requires a single click on the hyperlink to open it
irrespective of their options?
Thanks
 
J

Janbri

Yes, sorry Patrick, I am, see my earlier reply.

Patrick Cohan said:
Yes, just go to Insert -> Hyperlink -> and fill in the blanks. Or are you
looking for something more than that?
 
P

Patrick Cohan

Yeah, there is a way via script/vba, but their security settings may put a
kabosh on that.
 
P

Patrick Cohan

Hey there,

This thought just came to mind and simpler than what I was thinking earlier.
If you plase a CommandButton on the document and put this code within its
"click" event that works pretty nicely as well.
*********
Public Sub CommandButton1_Click()
ThisDocument.FollowHyperlink "http:\\www.nascar.com", , True, False

End Sub
**********
The "True" is for creating a new window and the "False" is for adding the
url to history. That's your call for those two options.
The word, "ThisDocument" can be replaced with "Me" as well.
 
J

Janbri

That sounds a lot better, how do I place a command button please. Thanks for
your help.
 
Top