View Single Post
 
Old 06-28-2024, 03:45 PM
Italophile Italophile is offline Windows 11 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 542
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Your code first calls
Quote:
Originally Posted by rferrin34 View Post
ActiveDocument.ActiveWindow.PrintOut
which prints a full copy of the document. Then it calls

Quote:
Originally Posted by rferrin34 View Post
Dialogs(wdDialogFilePrint).Show
which prints a second copy. Finally it calls the only part you actually need
Quote:
Originally Posted by rferrin34 View Post
Sub Fileprint
ActiveDocument.ActiveWindow.PrintOut _
Range:=wdPrintFromTo, From:="2", To:="3"
End Sub
Reply With Quote