Reply
 
Thread Tools Display Modes
  #1   Report Post  
Karen Hart
 
Posts: n/a
Default Macro to close Word Without Saving Document

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


  #2   Report Post  
Kingsley
 
Posts: n/a
Default

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

"Karen Hart" wrote:

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



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
copying files from Wordperfect to Microsoft Word Juliet New Users 1 January 31st 05 05:41 PM
faxing from word 2003 mail merge Jo_Wizz Mailmerge 2 January 25th 05 11:31 AM
word xp crashes after macros are recorded kharris0405 Microsoft Word Help 3 January 11th 05 10:50 PM
saving word document Joyce1 Microsoft Word Help 1 December 3rd 04 09:41 PM
How do I convert a cd in word perfect to microsoft word greylady Microsoft Word Help 1 November 23rd 04 07:03 PM


All times are GMT +1. The time now is 02:09 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"