Does Any one know which parameter is needed for give print, & in which order. I have following code but it through “automation object argument type mismatch Error”.
At word.ActiveDocument.PrintOut method
Please help me
Set word = CreateObject(“Word.Application”)
Set docs = word.Documents
Set Document = docs.Open( “C:\abc.doc” )
Call word.ActiveDocument.PrintOut(“”, 4, 0, 1, “6”, 0, False, True, True, False, 0, 0, 0, 0)
word.ActiveDocument.Close False