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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top