Alternate Text with HyperLink in locked form?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've figured out how to add a hyperlink field to my locked form, and it works
great. However, 1) it's ugly and 2) long URLs won't work because it has to
fit on one line.

Is there a way to provide alternate text for the hyperlink in a locked form?
Or, perhaps a .jpg or .gif placeholder?

Thanks, Todd
 
Hi =?Utf-8?B?VG9kZCBCdXJjaA==?=,
I've figured out how to add a hyperlink field to my locked form, and it works
great. However, 1) it's ugly and 2) long URLs won't work because it has to
fit on one line.

Is there a way to provide alternate text for the hyperlink in a locked form?
Or, perhaps a .jpg or .gif placeholder?
Can you describe the technique you're currently using, please? Also the version
of Word involved.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
..Hi Cindy. Yes, I can describe it. I'm using Word 2003. The curly braces I
show in my example I get from pressing CTRL+F9. In my document, I enter:

{MACROBUTTON "MyMacro" {HYPERLINK "www.some_url.com"}}

Then, I enter VBA (ALT+F11). I insert a module for my document
(INSERT>MODULE). In that module, I type:

Sub MyMacro()
Selection.Hyperlinks(1).Follow
End Sub


Thanks, Todd
 
Hi =?Utf-8?B?VG9kZCBCdXJjaA==?=,
I'm using Word 2003. The curly braces I
show in my example I get from pressing CTRL+F9. In my document, I enter:

{MACROBUTTON "MyMacro" {HYPERLINK "www.some_url.com"}}

Then, I enter VBA (ALT+F11). I insert a module for my document
(INSERT>MODULE). In that module, I type:

Sub MyMacro()
Selection.Hyperlinks(1).Follow
End Sub
OK... In my Word 2003, if I use Insert/Hyperlink to create the Hyperlink
field, I can specify "Text to display" (at the top of the dialog box). And
here, that's what I see. Does that work for you?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)
 
OK... In my Word 2003, if I use Insert/Hyperlink to create the Hyperlink
field, I can specify "Text to display" (at the top of the dialog box). And
here, that's what I see. Does that work for you?

Cindy Meister

Hi Cindy, thanks for your reply again. However, I'm not sure if that will
work. I think this because I am using a protected form document, and my
understanding is that once a form is protected, regular hyperlinks become
non-operational. Therefore, that's why I am using a nested macro to make the
hyperlink functional. Now, my goal is to make the hyperlink attractive.

If you think this will work, I will try it. However, your suggestion
contradicts my understanding of the documentation I have read on the subject
(through this forum and links posted in this forum).

Thanks, Todd
 
Hi =?Utf-8?B?VG9kZCBCdXJjaA==?=,
Hi Cindy, thanks for your reply again. However, I'm not sure if that will
work. I think this because I am using a protected form document, and my
understanding is that once a form is protected, regular hyperlinks become
non-operational. Therefore, that's why I am using a nested macro to make the
hyperlink functional. Now, my goal is to make the hyperlink attractive.

If you think this will work, I will try it. However, your suggestion
contradicts my understanding of the documentation I have read on the subject
(through this forum and links posted in this forum).
If you use Insert/Hyperlink this inserts a Hyperlink field. So show the field
codes and you shouldn't have any difficulty nesting the Hyperlink field in the
Macrobutton field :-)

Otherwise, select your hyperlink field. Press Shift+F9 to toggle the field code.
Make sure it's still selected, then type the display text you want to see.
Alt+F9 then, until all field codes are hidden.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Back
Top