How to Record Macros in Excel

Опубликовано: 09 Июнь 2026
на канале: MK
30
2

If you have tasks in Microsoft Excel that you do repeatedly, you can record a macro to automate those tasks. A macro is an action or a set of actions that you can run as many times as you want. When you create a macro, you are recording your mouse clicks and keystrokes. After you create a macro, you can edit it to make minor changes to the way it works.

Suppose that every month, you create a report for your accounting manager. You want to format the names of the customers with overdue accounts in red, and also apply bold formatting. You can create and then run a macro that quickly applies these formatting changes to the cells you select.

Excel enables users with no programming knowledge to write macros using Excel's intuitive macro recorder, which essentially watches what you do visually in Excel and converts it into a programming script. Of course, having a computer programming background can definitely help to power charge your macros because Excel enables you to write these macros using programming scripts. The goal of this brief treatment of macros is to introduce you to the macro recorder and give you just a sliver for vast capabilities of using macros in Excel.