#1
|
|||
|
|||
how to print multiple copies of a section page
Is there a way through VBA to print multiple copies of a section page? |
#2
|
||||
|
||||
Yes, record a macro of printing it and have a look at the code the macro recorder produces.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Wrd.ActiveDocument.Sections(19).Range.Select
Wrd.ActiveDocument.PrintOut Range:=wdPrintSelection The above works to print the section needed. However, the header and footer do not print. Any help on how to select the section including the header and footer? |
#4
|
||||
|
||||
Is there a reason you didn't try what I suggested?
Code:
Application.PrintOut FileName:="", Range:=wdPrintRangeOfPages, Item:= _ wdPrintDocumentWithMarkup, Copies:=10, Pages:="s19", PageType:= _ wdPrintAllPages, Collate:=True, Background:=True, PrintToFile:=False, _ PrintZoomColumn:=0, PrintZoomRow:=0, PrintZoomPaperWidth:=0, _ PrintZoomPaperHeight:=0
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#5
|
|||
|
|||
My apologies. I tried your suggestion and failed. Clearly I made a mistake in my attempt.
I do thank you for your help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create multiple copies of same email in multiple folders | gaker10 | Outlook | 0 | 10-06-2014 07:44 AM |
Unable to print multiple copies | zip p pong | Word | 1 | 03-16-2014 08:56 PM |
Mutliple copies 167 print as one document | John-N | Mail Merge | 5 | 02-19-2012 07:15 PM |
Multiple sequentialy numbered copies of one page | Roger1941 | Word VBA | 1 | 01-24-2011 03:26 PM |
Print copies not resetting? | denisep98 | Word | 0 | 09-14-2009 08:16 AM |