Family Encyclopedia >> Work

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

Macros in Microsoft Excel let you automate repetitive tasks, saving time and boosting efficiency. As Excel experts with years of experience optimizing workflows, we'll walk you through recording a macro in Excel 2016—a foundational skill for any spreadsheet pro.

Before diving in, explore our top Excel macro resources: 5 Excel Macro Resources to Automate Your Spreadsheets. These sites offer ready-made macros, plus ideas for custom ones—like sending emails from Excel via VBA: How to Send Emails from an Excel Spreadsheet Using VBA Scripts. Or automate reports the other way around. Read more.

How to Record a Macro in Excel 2016

Follow these straightforward steps to record your first macro. We'll outline them first, then detail each one.

  1. Enable the Developer tab.
  2. On the Developer tab, click Record Macro.
  3. Enter a Macro name.
  4. Assign a Shortcut key.
  5. Select where to Store macro in.
  6. Enter a Description.
  7. Click OK.
  8. Perform your macro actions.
  9. On the Developer tab, click Stop Recording.

Recording a Macro: Step-by-Step Details

1. Enable the Developer Tab

The Developer tab houses macro tools but isn't visible by default. To enable it: Go to File > Options > Customize Ribbon. In the Customize the Ribbon pane (with Main Tabs selected), check Developer and click OK.

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

The tab now appears on the ribbon permanently—unless you disable it later.

2. Click Record Macro

Switch to the Developer tab. In the Code group, click Record Macro to open the dialog.

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

Shortcut: Alt + T + M + R.

3. Enter a Macro Name

In the Macro Name field, type a descriptive name. Be specific for easy identification later.

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

Start with a letter; follow with letters, numbers, or underscores. No spaces, and avoid cell reference names.

4. Assign a Shortcut Key

For quick access, add a shortcut. In Shortcut key, press Ctrl plus your desired letter (e.g., Ctrl + A).

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

Pro tip: Use Ctrl + Shift + [letter] to avoid overriding built-in shortcuts like Ctrl + A (Select All).

5. Select Where to Store Macro In

Choose from the Store macro in dropdown:

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

  • Personal Macro Workbook: Available in all Excel sessions (stored in hidden Personal.xlsb).
  • New Workbook: Available in new files during this session.
  • This Workbook: Limited to the current file.

6. Enter a Description

Add a detailed Description of what the macro does—optional but essential for future reference.

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

7. Click OK

Review and click OK to begin recording.

8. Perform Your Macro Actions

Execute your tasks: typing, cell selection, formatting, or data imports. Plan ahead to avoid errors.

On the Developer tab, toggle Use Relative References as needed. Enabled: Actions relative to active cell (e.g., select A1 to A3 from J6 goes to J6:J8). Disabled: Absolute (goes to A1:A3).

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

If you err, stop and restart—or edit VBA code later. See: 4 Mistakes to Avoid When Programming Excel Macros with VBA.

9. Click Stop Recording

Finish up, then on Developer > Code, click Stop Recording.

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

Shortcut: Alt + T + M + R.

Using Your Macros

Access via Developer > Macros (or Alt + F8). Run, edit, or delete as needed.

How to Record a Macro in Excel 2016: Complete Step-by-Step Guide

Level up with: Excel VBA Tutorial for Beginners; Create a Custom Excel Toolbar from VBA Macros. Boost further with dropdowns (How to Create a Dropdown List in Excel), IF statements (How to Use IF Statements in Excel), or Goal Seek/Solver (How to Use Excel's Goal Seek and Solver).