View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default How to set up a section in a template to not print

You are welcome--and thank you for the feedback.

--
Stefan Blom
Microsoft Word MVP


"Lyn" wrote in message
...
This is awesome. It worked!! Thanks so much for the education.

"Stefan Blom" wrote:

Well, in the simple case where the document has two sections, and you
only
want to print the second, use these macros (in the attached template):

Sub FilePrint()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, _
Pages:="s2", Copies:=1, PrintToFile:=False, _
Item:=wdPrintDocumentContent

End Sub

Sub FilePrintDefault()
ActiveDocument.PrintOut Range:=wdPrintRangeOfPages, _
Pages:="s2", Copies:=1, PrintToFile:=False, _
Item:=wdPrintDocumentContent

End Sub

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

The example macros assume that you want to print to the default printer.

--
Stefan Blom
Microsoft Word MVP


"Stefan Blom" wrote in message
...
You can do this by intercepting the FilePrint and FilePrintDefault
commands
with macros.

--
Stefan Blom
Microsoft Word MVP



"Lyn" wrote:

I have set up a template with instructions on the first page of the
document
(as a section). The template is protected for filling in forms. Most
users
will just hit the print button instead of selecting the appropriate
section
to print. Thus, the instruction page is printed every time. Is there
a
way
to set up the property of the section where I have the instructions so
that
when the user hits the print button, the instruction section will not
print?