Printing specific pages (1 Viewer)

aziz rasul

Active member
Local time
Today, 09:38
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"
 

Minty

AWF VIP
Local time
Today, 09:38
Joined
Jul 26, 2013
Messages
10,378
Try something with the pages setting

Code:
Application.PrintOut Range:=wdPrintFromTo, Pages:="1"
 

aziz rasul

Active member
Local time
Today, 09:38
Joined
Jun 26, 2000
Messages
1,935
Thanks for that Minty, I will try that.
 

Users who are viewing this thread

Top Bottom