Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Derek
 
Posts: n/a
Default Printing Help Text in Text Form Fields

I have created a series of Text Form Fields and, from the Add Help
text... button added customized help text (from the Help Key (F1) tab).
This works great, but I would like to print this text out. Ideally, I
could print a version of the document with help text displaying next to
each form field. Second best choice would be simply printing all help
text from all fields at once.

Any suggestions?

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M -WordMVP-
 
Posts: n/a
Default Printing Help Text in Text Form Fields

Hi Derek,

I have created a series of Text Form Fields and, from the Add Help
text... button added customized help text (from the Help Key (F1) tab).
This works great, but I would like to print this text out. Ideally, I
could print a version of the document with help text displaying next to
each form field. Second best choice would be simply printing all help
text from all fields at once.

Any suggestions?

It requires a macro solution. See if this sample code approaches what
you're looking for?

Sub PrintFormFieldHelpText()
Dim ffld As Word.FormField
Dim rng As Word.Range

If ActiveDocument.ProtectionType wdNoProtection Then _
ActiveDocument.Unprotect
For Each ffld In ActiveDocument.FormFields
Set rng = ffld.Range
rng.Collapse wdCollapseEnd
rng.Text = ffld.HelpText
Next
ActiveDocument.Protect wdAllowOnlyFormFields, True
End Sub

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 :-)

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Derek
 
Posts: n/a
Default Printing Help Text in Text Form Fields

Dear Ms. Meister,

Your solution is perfect, as well as elegan!. Thank you for so
generously sharing your time and talent!

Derek

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M -WordMVP-
 
Posts: n/a
Default Printing Help Text in Text Form Fields

Hi Derek,

Your solution is perfect, as well as elegan!. Thank you

You're welcome :-) Thanks for letting me know it worked;
I'll put it in my "save bin" of useful code snippets for
the next poor soul wanting to do the same.

Cindy Meister

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
Header with picture or text box Scott Page Layout 15 April 28th 23 02:52 AM
formatting text form fields slscott Microsoft Word Help 6 March 24th 07 07:12 PM
how to automatically repeat text in form fields in word doc joe17 Microsoft Word Help 2 October 27th 05 08:23 PM
Outline Renee Hendershott Page Layout 2 December 25th 04 02:49 PM
Text boxes in protected Doc, form fields BP522 Microsoft Word Help 5 December 3rd 04 07:55 PM


All times are GMT +1. The time now is 07:44 AM.

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"