Is it possible to make Word close when you close the last open document? For instance, in Chrome, if you keep hitting Ctrl + W you'll eventually close the last tab, which will also close Chrome. I'd like the same functionality with Word (and the other Office products) where I can just keep closing documents until I close the last one, at which point the application closes. Unfortunately, Ctrl + W doesn't close Word, even when there are no documents open.
No, Ctrl+F4 doesn't close Word, does it? I believe Ctrl+F4 is equivalent to Ctrl+W. But Alt+F4 does close it, of course.
Commented Jun 24, 2013 at 21:31 @ardentsonata: No, at least not Word 2010. Commented Jun 24, 2013 at 21:33Perhaps you can look into writing a macro for this (close current doc, and if none exists then the app itself) and assign it to Ctrl+W.
Commented Jun 24, 2013 at 21:42The answer that you are looking for is Microsoft Word's FileCloseOrExist command.
It does exactly what you want. If you have 2 documents open and you execute the FileCloseOrExit command, then only the active document closes. When you execute the FileCloseOrExit command a second time now when only 1 document is open, it will close the last document and then terminate Microsoft Word.
Whenever I install Microsoft Word on a new computer, one of the first things I do is change the hotkey, Control+W from FileClose to FileCloseOrExit. To be honest, I don't know why they even have FileClose. FileCloseOrExist is the same thing but adds terminating Microsoft Word with the last document. It's much better.
To change the Control+W hotkey to this command, you need to:
There you have it. Now, every time you press Control+W in Microsoft Word, the program will automatically exit the program when you close the last document instead of leaving an ugly blank Word program.