How do I hide areas of text in word so it does not print?

  • Thread starter Thread starter EEL
  • Start date Start date
E

EEL

I am setting up a legal document and want to have reference text wthat you
can see on your screen (as in a guide for filling out the document) but that
automatically does not print out.
 
If this is only distributed as a printed document, format the reference text
as hidden. Set Word to display hidden text but not to print it (tools >
options). You could add the following macros to the document template to
toggle the hidden text and print the document without the need to change the
options manually.

Sub ToggleHidden()
With ActiveWindow.View
.ShowHiddenText = Not .ShowHiddenText
End With
End Sub

Sub PrintDoc()
Dim bPrintHidden As Boolean
bPrintHidden = Options.PrintHiddenText
Options.PrintHiddenText = False
ActiveDocument.PrintOut
Options.PrintHiddenText = bPrintHidden
End Sub

http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top