VBScript doesnt support named arguments; therefore, you must pass parameters by their ordinal position. And by my calculation, the copies parameter is the 8th parameter of the printout method.
Set oWord = CreateObject("Word.Application"
oWord.Documents.Open "C:\myfile.doc"
oWord.PrintOut False,,,,,,,9
oWord.Quit
Set oWord = Nothing Jon Hawkins
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.