Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to set up a section in a template to not print
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? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to set up a section in a template to not print
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? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to set up a section in a template to not print
Could you please let me know how to do that step by step since I am not that
macro savvy. Thanks, "Stefan Blom" wrote: 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? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to set up a section in a template to not print
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? |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to set up a section in a template to not print
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? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
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? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Print section | Microsoft Word Help | |||
What should the Section Start be when creating a new template? | Page Layout | |||
How do I get a section of text to NOT print | Page Layout | |||
How do I print endnotes at the end of a section | New Users | |||
How do I print page numbers in only 1 section of a multi-section . | Microsoft Word Help |