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

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.
 
G

Graham Mayor

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

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top