Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PrintToFile syntax
Message
From
05/03/2000 19:54:05
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00341754
Message ID:
00341953
Views:
21
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
Map
View

Click here to load this message in the networking platform