General information
Category:
COM/DCOM and OLE Automation
Works Perfect!! Thanks
One more question...
If I want to print several Microsoft Word documents, do I have do all of this code for every document?. Or can I open Wrod, open all of the documents I need to print, print them, and then close Word?
oWord=CREATE("Word.Application")
Word.Options.PrintBackGround = .F.
oDoc=oWord.Documents.Open("c:\my documents\test.doc")
oDoc.Printout()
oWord.Quit(0)
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