Macro for Microsoft Word 2010 to print multiple copies of a document, pulling each page from a different paper tray


how can create macro print 4 copies of 1 document , have each copy pulled different paper tray?  have user needs print 4 copies of document on different colored paper.  if had macro pull each paper tray on printer, put different color paper in each tray.

hi cindy,

you should try recording macro , while it's recording make tray selections page layout (page setup group) > size > more paper sizes ...

here is partial vba code shows setting tray values , sending active document print. application loop code 4 times , each iteration change value of tray setting.

        activedocument.pagesetup             .firstpagetray = 259             .otherpagestray = 259         end         application.printout filename:="", range:=wdprintalldocument, _             copies:=1, pages:="", pagetype:=wdprintallpages, collate:=true, background:=true, printtofile:=false 


kind regards, rich ... http://greatcirclelearning.com



Microsoft Office  >  Word IT Pro Discussions



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

RDS 2012 r2 collections show black screen and then close