Reply
 
Thread Tools Display Modes
  #1   Report Post  
Al Loze
 
Posts: n/a
Default Insert instructions on a form that won't appear when printed

Am creating a form for users to fill in fields. WOuld like to inform them of
what is required in each field but don't want the instructions to appear when
the form is printed.
  #2   Report Post  
Charles Kenyon
 
Posts: n/a
Default

Several options. Chief of which are online forms, where you can add help in
the status line and to the F1 key, and macrobutton fields which can display
your prompt, which is typed over by the user. 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. See
http://www.addbalance.com/usersguide...tm#MacroButton and
http://www.mvps.org/word/FAQs/TblsFl...acroButton.htm for more
about macrobutton fields.

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://www.mvps.org/word 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.
"Al Loze" Al wrote in message
...
Am creating a form for users to fill in fields. WOuld like to inform them
of
what is required in each field but don't want the instructions to appear
when
the form is printed.



  #3   Report Post  
Greg Maxey
 
Posts: n/a
Default

Al,

I didn't test on a protected form, but I put instructions in a frame and
then use this series of macros to show on screen and hide in print:

Public Sub FilePrint()
' intercepts File Print (Ctrl+P)
HideInstructions
Dialogs(wdDialogFilePrint).Show
UnhideInstructions
End Sub

Public Sub FilePrintDefault()
' intercepts Print button
HideInstructions
ActiveDocument.PrintOut Background:=True
UnhideInstructions
End Sub

Public Sub FilePrintPreview()

ActiveDocument.PrintPreview
HideInstructions
End Sub
Public Sub ClosePreview()
ActiveDocument.ClosePrintPreview
UnhideInstructions

End Sub


Sub HideInstructions()
Dim instFrame
Dim i As Integer

On Error Resume Next
Set instFrame = ActiveDocument.Frames
For i = 1 To instFrame.Count
With instFrame(i)
.Range.Font.Hidden = True
.Shading.BackgroundPatternColor = wdColorAutomatic
.Borders.OutsideLineStyle = wdLineStyleNone
End With
Next i
Err.Clear
End Sub
Sub UnhideInstructions()
Dim instFrame
Dim i As Integer

On Error Resume Next
Set instFrame = ActiveDocument.Frames
For i = 1 To instFrame.Count
With instFrame(i)
.Range.Font.Hidden = False
.Shading.BackgroundPatternColor = wdColorLightYellow
.Borders.OutsideLineStyle = wdLineStyleSingle
End With
Next i
Err.Clear
End Sub



--
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

Al Loze wrote:
Am creating a form for users to fill in fields. WOuld like to inform
them of what is required in each field but don't want the
instructions to appear when the form is printed.



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
Insert picture in a form table Wylie C Tables 5 May 2nd 05 03:10 AM
How do i insert a photo into a protected form Bammons Page Layout 1 April 24th 05 11:55 AM
Create protected form that allows me to insert a jpeg/bmp file? Larry Abell Microsoft Word Help 4 March 14th 05 01:21 AM
Insert pictures in a protected form? BurZurk Microsoft Word Help 3 February 22nd 05 01:58 AM
How do I insert a calendar as a form field for the user to choose. Patty Microsoft Word Help 1 January 27th 05 02:48 AM


All times are GMT +1. The time now is 05:53 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"