Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Sub PrintManualDuplex()
  2.     Dim startPage As Variant
  3.     Dim endPage As Variant
  4.     startPage = InputBox("Start Page")
  5.     endPage = InputBox("End Page:")
  6.     startPage = CStr(startPage)
  7.     endPage = CStr(endPage)
  8.    
  9.     Application.Options.PrintOddPagesInAscendingOrder = True
  10.     ActiveDocument.PrintOut Range:=wdPrintFromTo, From:=startPage, To:=endPage, ManualDuplexPrint:=True
  11. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement