#1
|
|||
|
|||
print specific pages in vba
I have the below code that will not print the command button, but I only want certain pages printed, for example I just want pages 1 and 3.
Code:
With ActiveDocument .Shapes(1).Visible = msoFalse .PrintOut Background:=False .Shapes(1).Visible = msoTrue End With |
#2
|
||||
|
||||
PrintOut has a large number of parameters which it appears you haven't explored. Have a look at https://docs.microsoft.com/en-us/off...6)%26rd%3Dtrue
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Printing selected pages based on a MERGEFIELD.g. If MERGEFIELD=x then print pages 1,2,4 if MERGEFIEL | Richard.p | Word | 3 | 04-21-2015 01:14 AM |
can word: make variables, find appropriate pages, fill out pages with variables, print only those | 20GT | Word VBA | 1 | 10-15-2014 09:48 PM |
Tick box to be able to save or print specific pages | Jack Byrindi | Word | 9 | 01-21-2014 09:36 PM |
Select specific pages to print or save | Jack Byrindi | Word VBA | 0 | 01-16-2014 03:14 PM |
Print attachment when it arrive in specific folder with specific subject | visha_1984 | Outlook | 1 | 01-30-2013 10:42 AM |