Written by Allen Wyatt (last updated January 28, 2023)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021
When Glenn is done working with a document in Word, he often wants to close it and open a brand-new blank document. These are obviously two separate steps (close the open document and then create a new document). Since Glenn does this so often, he's wondering if there is a way that he can combine the two steps into a single step.
An easy way to do this is to simply use keyboard shortcuts. To close the current document and then create a blank document, first press Ctrl+W followed by Ctrl+N. This can still be considered two steps, however. And, if you need to save the document first (by pressing Ctrl+S), then it is three steps.
If you truly want it to be a single step, then the best solution is to create a macro to do the tasks. Here's a simple example:
Sub MyCloseCreate() ActiveWindow.Close SaveChanges:=False Documents.Add DocumentType:=wdNewBlankDocument End Sub
The first line in the document closes whatever document is active, and then the second creates the brand-new document. Note the use of the SaveChanges parameter on the first line. This causes Word to close the document without saving any changes; if you want to save your changes by default, change the "False" to "True."
You should save the macro in your Normal template and then you can assign it to a shortcut key or add it to your Quick Access Toolbar. That way you can perform both steps with a single action.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13006) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, Word in Microsoft 365, and 2021.
Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!
Got a lot of open documents you are working with? You can save them all at one time by adding a handy tool to your Quick ...
Discover MoreNeed to see the page count on a large number of documents? Windows provides an easy way to see the information you ...
Discover MoreWord makes it easy to create a new, blank document. What if you want to create more than one document at a time, however? ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
2023-01-28 05:10:48
KENT HANSEN
A special case that I have is closing a document and reopening the SAME document 4 times a day. (Document has a number of links that may opened and then processed via another macro).
Lots of code choices on the internet. I use the one below. (One QAT click vs File|Close|Don'tSave|File|Open|Select)
Sub Reopen()
'UpdatebyExtendoffice20171128
ThisWorkbook.Saved = True
ThisWorkbook.ChangeFileAccess xlReadOnly, , False
Application.Wait Now + TimeValue("00:00:01")
ThisWorkbook.ChangeFileAccess xlReadWrite, , True
End Sub
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments