General information
Category:
Coding, syntax & commands
oWord.ActiveDocument.Close(0) &&without prompt
oWord.Quit()
...
>Hi, I am trying to quit a word document without saving but keep getting the
>message do you want to save the file. Does anyone know how to get around this?
>I have tried to turn off the alerts like this
>
>oWord.Application.DisplayAlerts = .F.
>
>or this
>
>oWord.Application.DisplayAlerts = 0
>
>but when I get to this part
>
>oWord.Quit()
>
>Word still aske me whether or not I want to save the file?
>
>Thanks
>Steve
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