I've followed the instructions listed in this article and am still unable to
get my hyperlinks to work once the document is protected for forms. Can you
provide any insight into why this is not working for me.
By "this article", I assume you mean
http://www.word.mvps.org/FAQs/TblsFldsFms/HLinksInForms.htm.
Without seeing your document or template, the best we can do is guess.
- Did you insert the fields by pressing Ctrl+F9? Just typing brackets doesn't
work.
- In the field code, does the word "FollowLink" (between "MacroButton" and the
hyperlink field) match the name of the macro? (Capitalization is ignored, but
the spelling must be exact.)
- Did you include one of the two macros under the topic "Double-click or
single-click"? Although the article seems to imply that this is an optional
step, it really is required.
- After checking those things, if it still doesn't work, are you sure the macro
is enabled and that it runs when you click the link? Try adding this line to the
FollowLink macro just after the Sub FollowLink line:
MsgBox "Follow link?"
If you see a message box when you click the link, then the macro is running; in
that case the problem is somewhere outside Word, maybe in the part of Windows
that should launch the default browser. If you don't see the message box, then
the macro isn't running, which could be caused by a Word macro security setting
that disables all macros.