Hyperlinks on userforms???

J

jille

Hello,

I want to add an internet address to a userform that the user can simply
click on and it will launch the site. Normally I would do this with a
hyperlink but I haven't figured out how to do it in VBA. Is there a hyperlink
control or a special way of formatting a text string in a label to create an
active link?

FYI, my client is using Word 2000.

Much appreciated if someone can point me in the right direction.
 
S

sarafina

I ma struggling with the same issue. I created my form and when I protect it
all the internal and external hyperlinks freeze. very annoying feature. they
should have a way to turn it on and off...

anyhow, I found the instructions recomended below on my own and followed
them as best I could. my results are crappy. The like is live now... sort
of.. it jumps down about half a page. it does not go to the bookmark it is
linked to. I am using 03 and in a windows pc environment. I cut and pasted
the text into the macr so I wouldn't make any errors in it, I am wondering if
that is causing the trouble. Any advice for how to get the (now( active link
to jump to the correct site?

Thanks,
Sara
 
J

Jay Freedman

If the link points to a bookmark that's in protected text but not a
form field, then the cursor can't go there. It will go to the nearest
form field instead. There's not a blessed thing you can do about that.

If that isn't the case, I don't know what's wrong (and can't tell just
from a description). The macro in the article does exactly the same
thing that clicking the link would do in an unprotected document.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 

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