Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, and 2013. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Clean Up Your Macro List.
by Allen Wyatt
(last updated June 24, 2019)
Whenever you use the macro recorder, Word assigns it a default name based on the pattern MacroN, where N is the next available macro number. Thus, your first macro recorded would be Macro1, the second would be Macro2, and so on. (Although Word lets you pick a different name when you record the macro, it is my experience that most people do not take advantage of this for quick-and-dirty macros.)
Because of this naming practice, it is real easy to "muck up" your template with macros you no longer need. Heck, you probably can't even remember what they do! The solution to this situation is to periodically clean out your macro list. I make it a habit to always delete anything that is in this default naming sequence. Doing this periodically means that your files take less space and Word takes less time to load.
To clean out the macros list, just display the Macros dialog box (just press Alt+F8). Individually select each macro you want to delete, and then click the Delete button. When you finish deleting the generic MacroN's you should check the named macros also. Click on the Edit button and Word will go into edit mode showing you all of the macros. Scroll through and identify any you no longer need. Delete them from "Sub name()" to "End Sub". When you are done, close the dialog box.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (9038) applies to Microsoft Word 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Word here: Clean Up Your Macro List.
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!
Want the ribbon to be minimized for a particular document? Word may not allow you to get the exact result you want, as ...Discover More
If you are formatting your document by using a macro, you may need to make some of your text italics. You do that by ...Discover More
In some documents Roman numerals might be used quite a bit. If you ever want to change the Roman numerals to their Arabic ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.