General information
Category:
COM/DCOM and OLE Automation
>I have the following code which opens the document but need to know what commands to use to print the document.
>WITH loWord
> cFile = CURDIR()+"\Reports\DonateBlank.doc"
> .Documents.Open(cFile)
>ENDWITH
>
To print the whole document, you just need:
loWord.ActiveDocument.PrintOut()
There are a ton of parameters to that method that let you modify exactly what's printed or how it's printed or whatever.
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only