Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Recording a Macro.
by Allen Wyatt
(last updated October 10, 2020)
If you have a repetitive task that is a good candidate for a macro, you can use the macro recording capabilities of Excel to turn your actions into a macro. To record a macro, follow these steps:
Figure 1. The Record Macro dialog box.
Excel displays the Stop Recording toolbar and starts recording everything you do. The actions you take become steps in the macro, and will be repeated when you later execute the macro. The Stop Recording toolbar is very small and consists of only two tools.
When you have finished the steps you want recorded in your macro, click on the stop button on the Stop Recording toolbar. The macro is then saved and available for use at any time.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2923) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Recording a Macro.
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!
What is a macro? Ever wonder what these are and how to use them? This tip answers the basics of what a macro is used for, ...Discover More
Macros are a great way to expand what you can do with the data you place in Excel. You can make those macros even handier ...Discover More
Sometimes, when you upgrade to a new version of Excel, you could run into a problem recording macros that you had no ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.