Inserting Hyperlink in form1.frm?

J

JB

Hi Folks can anyone tell me how this is done or point me to an example
please?

I wish to link to an external website from my wizard forms and have it load
e.g. http://www.yahoo.com

Cheers

J
 
J

Jonathan West

Hi JB

Go to www.mvps.org/vb/, select the Samples link on the left, and then
download the HyperJmp.zip sample on that page. In the zip file you will find
a very small module that contains a routine for opening any web page whose
address you pass to it. This module works perfectly happily when imported
into a Word VBA project.

All you then need to is call the routine from the Click event of the
appropriate button on your form.

In principle, you could also use the FollowHyperlink method in Word, but
this method throws an error if there is no document open in Word.
 
J

JB

Thanks Jonathan! worked a treat! :)

J
Jonathan West said:
Hi JB

Go to www.mvps.org/vb/, select the Samples link on the left, and then
download the HyperJmp.zip sample on that page. In the zip file you will find
a very small module that contains a routine for opening any web page whose
address you pass to it. This module works perfectly happily when imported
into a Word VBA project.

All you then need to is call the routine from the Click event of the
appropriate button on your form.

In principle, you could also use the FollowHyperlink method in Word, but
this method throws an error if there is no document open in Word.

--
Regards
Jonathan West - Word MVP
http://www.multilinker.com
Please reply to the newsgroup
 

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