Reply
 
Thread Tools Display Modes
  #1   Report Post  
Shari
 
Posts: n/a
Default Macro for the F1 "help text" key inside a form field

I added help text to a form field and want it to pop up when you tab to the
field. However, when I go to record the macro, it records the F1 Microsoft
Help screen. If I lock the form, I get the F1 help text, but I can't record
a macro when the form is locked. Any suggestions?
  #2   Report Post  
Charles Kenyon
 
Posts: n/a
Default Macro for the F1 "help text" key inside a form field

You can add help at the F1 key and in the status bar using the properties
dialog for a field. Otherwise, you could pop up a messagebox with your text
via an onEntry macro. Not sure why you want help to popup when you tab out
of a field, but you could have an on-exit macro instead. All of this is set
in the field's properties while the form is unprotected.

What you are talking about is what Word calls an "online form." For more
about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customizat...nTheBlanks.htm especially Dian
Chapman's series of articles. You may also want to look at
http://www.word.mvps.org/FAQs/TblsFl...nesInForms.htm.

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Shari" wrote in message
...
I added help text to a form field and want it to pop up when you tab to the
field. However, when I go to record the macro, it records the F1
Microsoft
Help screen. If I lock the form, I get the F1 help text, but I can't
record
a macro when the form is locked. Any suggestions?



  #3   Report Post  
Shari
 
Posts: n/a
Default Macro for the F1 "help text" key inside a form field

Thanks, but the real problem is with the F1 key. When I record the macro
(with the form unlocked) and press F1, it launches MS Word On-line Help. I
want it to launch the "help text" I entered in the form field. The only way
to get to this help text is to lock the form. If I do that, I can't record a
macro. Hope I'm explaining it right -- any suggestions? Thanks.

"Charles Kenyon" wrote:

You can add help at the F1 key and in the status bar using the properties
dialog for a field. Otherwise, you could pop up a messagebox with your text
via an onEntry macro. Not sure why you want help to popup when you tab out
of a field, but you could have an on-exit macro instead. All of this is set
in the field's properties while the form is unprotected.

What you are talking about is what Word calls an "online form." For more
about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customizat...nTheBlanks.htm especially Dian
Chapman's series of articles. You may also want to look at
http://www.word.mvps.org/FAQs/TblsFl...nesInForms.htm.

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Shari" wrote in message
...
I added help text to a form field and want it to pop up when you tab to the
field. However, when I go to record the macro, it records the F1
Microsoft
Help screen. If I lock the form, I get the F1 help text, but I can't
record
a macro when the form is locked. Any suggestions?




  #4   Report Post  
Charles Kenyon
 
Posts: n/a
Default Macro for the F1 "help text" key inside a form field

I've crossed-posted this to the vba.beginners newsgroup.

This is an instance where you can't record a macro, you'll have to write it
or modify what you record.
http://word.mvps.org/FAQs/MacrosVBA/...ordedMacro.htm

What, exactly do you want your macro to do?
Why? (Important because there may be easier ways to accomplish what you
want.)

Which version of Word?

A simple on-entry macro to display something:

Sub OnEntryMacro1()
MsgBox _
Prompt:="This is the help text.", _
Title:="Help for this field."
End Sub

Note, this has nothing to do with the help text you put into the field. The
text is in the macro. You could create one that would pull out the field's
help text, instead. But I don't know how.

--
Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Shari" wrote in message
...
Thanks, but the real problem is with the F1 key. When I record the macro
(with the form unlocked) and press F1, it launches MS Word On-line Help.
I
want it to launch the "help text" I entered in the form field. The only
way
to get to this help text is to lock the form. If I do that, I can't
record a
macro. Hope I'm explaining it right -- any suggestions? Thanks.

"Charles Kenyon" wrote:

You can add help at the F1 key and in the status bar using the properties
dialog for a field. Otherwise, you could pop up a messagebox with your
text
via an onEntry macro. Not sure why you want help to popup when you tab
out
of a field, but you could have an on-exit macro instead. All of this is
set
in the field's properties while the form is unprotected.

What you are talking about is what Word calls an "online form." For more
about online forms, follow the links at
http://addbalance.com/word/wordwebresources.htm#Forms or
http://word.mvps.org/FAQs/Customizat...nTheBlanks.htm especially
Dian
Chapman's series of articles. You may also want to look at
http://www.word.mvps.org/FAQs/TblsFl...nesInForms.htm.

Hope this helps,
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"Shari" wrote in message
...
I added help text to a form field and want it to pop up when you tab to
the
field. However, when I go to record the macro, it records the F1
Microsoft
Help screen. If I lock the form, I get the F1 help text, but I can't
record
a macro when the form is locked. Any suggestions?






Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text form field inside a WORD table cell, odd behavior when select pwrichcreek Tables 9 October 20th 05 12:34 AM
Text form field inside WORD table cell, odd selection behavior pwrichcreek Microsoft Word Help 1 October 11th 05 03:57 PM
Hyperlink macro assigned to checkbox form field Jack_Feeman Microsoft Word Help 4 August 24th 05 09:06 AM
Enter data in 1 text form field & have multiple locations fill Lee Microsoft Word Help 1 March 16th 05 10:56 PM
Text Form Field Ref in Footer Won't Update on Screen StarWine Microsoft Word Help 3 December 6th 04 06:17 PM


All times are GMT +1. The time now is 04:41 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"