by Allen Wyatt
(last updated April 28, 2018)
If you have a repetitive task that is a good candidate for a macro, you can use the macro recording capabilities of Word to help turn your actions into a macro. To record a macro, follow these steps:
Figure 1. The Record Macro dialog box.
Word starts recording everything you do. The actions you take become steps in the macro, and will be repeated when you later execute the macro.
When you finish the steps you want recorded in your macro, again display the Developer tab of the ribbon and click the Stop Recording tool. (This tool is only available when you are actually recording your macro.) The macro is then saved and available for use at any time.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (13519) applies to Microsoft Word 2007, 2010, 2013, 2019, and Word in Office 365.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Need to reverse all the characters in a string? You can do so by using the function described in this tip.Discover More
Need to create a directory from within a macro? You can do it using a single command line, as detailed in this tip.Discover More
Wouldn't it be great if Word could execute a macro every time someone typed in a particular keyword or phrase? Word may ...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.