close the doc. when press alt+f4 but without asing "do u want to s

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hiii....


here i am facing a small problem with word doc. Iam working with different
word doc at a time with nearly 5 to 10 docs. when i close the total group it
asks "do u want to save the changes to xx.doc". Here i dont need to save
these docs. They should close without saving what i edit. But it shold not
ask the above.

Is there any setting to close these docs withot asking this request.?

thanks
Narendra
 
Hi =?Utf-8?B?TmFyZW5kcmEgQm9nYQ==?=,
here i am facing a small problem with word doc. Iam working with different
word doc at a time with nearly 5 to 10 docs. when i close the total group it
asks "do u want to save the changes to xx.doc". Here i dont need to save
these docs. They should close without saving what i edit. But it shold not
ask the above.

Is there any setting to close these docs withot asking this request.?
No, there's no setting that would do this. It would be possible to have a macro
that you can run when you want to quit Word and ignore any changes in documents.
You'd have to run it from within a Word window (rather than from the Windows
task bar). Something like this:

Sub CloseAndQuit()
Quit wdDoNotSaveChanges
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Hello Narendra

Narendra said:
here i am facing a small problem with word doc. Iam working with different
word doc at a time with nearly 5 to 10 docs. when i close the total group it
asks "do u want to save the changes to xx.doc". Here i dont need to save
these docs. They should close without saving what i edit. But it shold not
ask the above.

Is there any setting to close these docs withot asking this request.?

not a "setting" that I am aware of, but a line of VBA can do it, for
instance.

The following macro will close down your instance of Word and all open
documents, without saving:

Sub FireAndForget()

Application.Quit SaveChanges:=wdDoNotSaveChanges

End Sub

You can put this on a toolbar icon (provided you're in the pre-Word 2007
era :-)), or a keyboard shortcut.

Caveat: This is dangerous! There's a good reason this question is
popping up!!

Technically, you could probably incorporate this functionality into all
the documents you are working with in this way (or into the documents'
template(s)) directly. I no way would I suggest making the behavior the
default for all your documents ...

HTH
Robert
 

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

Back
Top