Macro to close Word Without Saving Document

K

Karen Hart

I know that the command to close the active document without saving is:

ActiveWindow.Close SaveChanges:=wdDoNotSaveChanges

What is the command to close Word entirely without saving changes to the
active document?

TIA,
Karen
 
K

Kingsley

Have you tried calling the Quit method of the Application class with the
right value for SaveChanges parameter.
 
Top