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 June 18, 2018)
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.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
Requiring users to input a password in Excel increases the security of the worksheet and can prevent someone from running ...Discover More
When creating macros, you can use the ColorIndex and Color properties to set or determine the colors in a cell. Excel ...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.