General information
Category:
COM/DCOM and OLE Automation
John:
I declare oWord, open up a document and all that and then ...
oWord.ActiveDocument.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
Collate:=True, Background:=True, PrintToFile:=False
which I took straight from the Word Macro (subbing oWord.ActiveDocument in the begining, right?). Syntax error city. Syntax error county, for that matter ...
Am I missing something simple?
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