#1   Report Post  
Posted to microsoft.public.word.docmanagement
terilad terilad is offline
external usenet poster
 
Posts: 12
Default Save option on close

Hi,

Can someone help me to stop the pop up box if a document has changed and you
hit close it appears with a message box do you want to save changes, I am
looking to stop this pop up, is there a macro to stop this from happening so
the document just closes without asking to save.

Many thanks

Mark
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Peter T. Daniels Peter T. Daniels is offline
external usenet poster
 
Posts: 3,215
Default Save option on close

So you _want_ to lose all the changes you worked on all day?

On May 27, 4:41*pm, terilad wrote:
Hi,

Can someone help me to stop the pop up box if a document has changed and you
hit close it appears with a message box do you want to save changes, I am
looking to stop this pop up, is there a macro to stop this from happening so
the document just closes without asking to save.

Many thanks

Mark


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Peter T. Daniels Peter T. Daniels is offline
external usenet poster
 
Posts: 3,215
Default Save option on close

So you _want_ to lose all the changes you worked on all day?

On May 27, 4:41*pm, terilad wrote:
Hi,

Can someone help me to stop the pop up box if a document has changed and you
hit close it appears with a message box do you want to save changes, I am
looking to stop this pop up, is there a macro to stop this from happening so
the document just closes without asking to save.

Many thanks

Mark


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Save option on close

The macro is simply

Sub CloseWithoutSave()
ActiveDocument.Close wdDoNotSaveChanges
Application.Quit
End Sub

which you can assign to a keyboard shortcut or a button.

But don't come whining that you closed a document without saving and now you
want it back -- there won't be anything to recover!

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

terilad wrote:
Hi,

Can someone help me to stop the pop up box if a document has changed
and you hit close it appears with a message box do you want to save
changes, I am looking to stop this pop up, is there a macro to stop
this from happening so the document just closes without asking to
save.

Many thanks

Mark



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Save option on close

The macro is simply

Sub CloseWithoutSave()
ActiveDocument.Close wdDoNotSaveChanges
Application.Quit
End Sub

which you can assign to a keyboard shortcut or a button.

But don't come whining that you closed a document without saving and now you
want it back -- there won't be anything to recover!

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

terilad wrote:
Hi,

Can someone help me to stop the pop up box if a document has changed
and you hit close it appears with a message box do you want to save
changes, I am looking to stop this pop up, is there a macro to stop
this from happening so the document just closes without asking to
save.

Many thanks

Mark





  #6   Report Post  
Posted to microsoft.public.word.docmanagement
terilad terilad is offline
external usenet poster
 
Posts: 12
Default Save option on close

Thanks Jay,

Thats exactly what I wanted, I know it seems strange but its for filling in
forms.

Many thanks

Mark

"Jay Freedman" wrote:

The macro is simply

Sub CloseWithoutSave()
ActiveDocument.Close wdDoNotSaveChanges
Application.Quit
End Sub

which you can assign to a keyboard shortcut or a button.

But don't come whining that you closed a document without saving and now you
want it back -- there won't be anything to recover!

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

terilad wrote:
Hi,

Can someone help me to stop the pop up box if a document has changed
and you hit close it appears with a message box do you want to save
changes, I am looking to stop this pop up, is there a macro to stop
this from happening so the document just closes without asking to
save.

Many thanks

Mark



.

  #7   Report Post  
Posted to microsoft.public.word.docmanagement
terilad terilad is offline
external usenet poster
 
Posts: 12
Default Save option on close

Thanks Jay,

Thats exactly what I wanted, I know it seems strange but its for filling in
forms.

Many thanks

Mark

"Jay Freedman" wrote:

The macro is simply

Sub CloseWithoutSave()
ActiveDocument.Close wdDoNotSaveChanges
Application.Quit
End Sub

which you can assign to a keyboard shortcut or a button.

But don't come whining that you closed a document without saving and now you
want it back -- there won't be anything to recover!

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

terilad wrote:
Hi,

Can someone help me to stop the pop up box if a document has changed
and you hit close it appears with a message box do you want to save
changes, I am looking to stop this pop up, is there a macro to stop
this from happening so the document just closes without asking to
save.

Many thanks

Mark



.

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
save option - save file and not template donna Microsoft Word Help 1 September 17th 08 02:57 PM
Under 'File' I used to have a 'Close' option. It's disappeared John S[_2_] Microsoft Word Help 2 August 4th 08 04:07 PM
What is the diffrences between close & exit option of file menu RG Microsoft Word Help 1 December 22nd 07 04:24 AM
When I close a doc in Word 03 w/o save, there's no prompt to save Bunga29 Microsoft Word Help 3 October 31st 06 10:58 PM
Save As HTML - where is option to save pictures to GIF od JPG format? Zdenek Mares Microsoft Word Help 2 December 6th 05 03:18 PM


All times are GMT +1. The time now is 06:44 AM.

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"