Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing File in Word
Message
From
26/06/2001 14:06:41
 
 
To
26/06/2001 13:55:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00523610
Message ID:
00523710
Views:
9
Please disregard what I just said. I found out that what I need was the following:
loWord.ActiveDocument.PrintOut()
loWord.ActiveDocument.Close(wdDoNotSaveChanges)
It wasn't the PrintOut that was causing the problem with Work appearing instead it was the Close. I originally had loWord.Documents.Close(wdDoNotSaveChanges) and when I changed it to loWord.ActiveDocument.Close(wdDoNotSaveChanges) everything works as I want it to.

Thanks

Milt
Previous
Reply
Map
View

Click here to load this message in the networking platform