Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Word OLE object without updating it
Message
From
11/05/1998 12:04:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098487
Message ID:
00098504
Views:
26
>Hi everyone,
>
>I open an embedded Word document with DoVerb(-2). When in Word I would like to be able to close this document without saving the changes made to it. How can this be done? I have tried the following in Word(very simple), but it doesn't seem to work??
>
>
> ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
>

try this:

ActiveDocument.Close(0)
Saludos,
A.G.P.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform