Printing specific pages

aziz rasul

Active member
Local time
Today, 16:25
Joined
Jun 26, 2000
Messages
1,935
Does anyone have any VBA code that will print specific number of pages to a pdf printer. I have tried the following to print page 1 only, but it doesn't work.


Code:
Application.PrintOut Range:=wdPrintFromTo, From:="1", To:="1"
 
Try something with the pages setting

Code:
Application.PrintOut Range:=wdPrintFromTo, Pages:="1"
 
Thanks for that Minty, I will try that.
 

Users who are viewing this thread

Back
Top Bottom