Hi,
I'm trying to print a Word document from VB6. The problem is, when I close Word directly after issuing a print command, the printjob is "lost" (Nothing is printed). When I don't close word, the document is printed as intended.
I have:
appWord.ActiveDocument.PrintOut Background:=True, Copies:=2
appWord.Quit wdDoNotSaveChanges
I'm trying to print a Word document from VB6. The problem is, when I close Word directly after issuing a print command, the printjob is "lost" (Nothing is printed). When I don't close word, the document is printed as intended.
I have:
appWord.ActiveDocument.PrintOut Background:=True, Copies:=2
appWord.Quit wdDoNotSaveChanges