Excel Agility: Macro Basics Part 1
Notice: No webinar is currently available in this series.
This webinar is not currently available, new dates coming soon.
Frequently Asked Questions
An Excel macro is a set of instructions that automates repetitive tasks, recorded or written in Visual Basic for Applications (VBA). The Macro Recorder, accessible through the Developer tab (View > Macros > Record Macro), captures every action you take in Excel—formatting cells, entering data, sorting, filtering, copying—and translates them into VBA code that can be replayed with a single click. When recording, you can choose whether to record with absolute references (always acting on the same specific cells) or relative references (acting on cells relative to the active cell at runtime). Macros are stored in the workbook or in the Personal Macro Workbook for use across all files. Common beginner use cases include applying consistent formatting to monthly reports, copying data between sheets, and automating repetitive data entry workflows. The Macro Recorder is the ideal starting point for non-programmers looking to automate Excel tasks without writing code from scratch. Aurora Training Advantage's Excel Agility: Macro Basics series walks through recording and running macros step by step.
When recording a macro in Excel, absolute recording locks the macro to the exact cells you interacted with during recording—every time you run the macro, it performs actions on those same cells regardless of where your cursor is. Relative recording, activated by clicking Use Relative References in the Developer tab before recording, captures movements relative to the active cell at the time the macro runs. For example, if you record moving one cell to the right and entering a value with relative recording, the macro will always move one cell to the right from wherever you start it—making it reusable across different rows. Absolute recording is useful for macros that always apply to a fixed report structure. Relative recording is better for macros that process variable-length data, such as adding a formula to each row in a list. Understanding this distinction is one of the first skills covered in Excel macro training and determines whether a recorded macro will work correctly across different data scenarios.
The Developer tab in Excel provides access to macro recording, the VBA editor, form controls, ActiveX controls, and XML tools—but it is hidden by default. To enable it, go to File > Options > Customize Ribbon, then check the Developer box in the right-hand panel and click OK. On a Mac, the path is Excel > Preferences > Ribbon & Toolbar. Once visible, the Developer tab contains the Record Macro button, the Macros dialog for viewing and running saved macros, the Visual Basic button to open the VBA editor, and the Insert button for adding form and ActiveX controls to worksheets. Enabling the Developer tab is the essential first step for anyone learning Excel automation or interactive spreadsheet design. It is a one-time setup step that unlocks a wide range of advanced Excel capabilities. Aurora Training Advantage's Excel Agility: Macro Basics training series begins with this setup step before progressing into practical macro recording and editing techniques.
Macros recorded in Excel can be stored in three locations: the current workbook (available only when that file is open), a new workbook (a one-time use storage), or the Personal Macro Workbook—a hidden workbook that opens automatically with Excel, making its macros available across all files. The Personal Macro Workbook is the best choice for general-purpose utility macros you want to reuse regularly. To run a saved macro, go to Developer > Macros (or press Alt+F8), select the macro from the list, and click Run. For frequently used macros, you can assign them to a button on the Quick Access Toolbar, a keyboard shortcut, or a form control button placed directly on a worksheet. Macros that interact with other workbooks must be run from a file that can access the relevant data. Understanding macro storage locations is fundamental to deploying Excel automation reliably across different files and users in a professional environment.
Excel macros can contain malicious code, so Excel's Trust Center applies security restrictions to macro-enabled files. By default, all macros are disabled with notification—when you open a macro-enabled workbook (.xlsm), a yellow security bar appears offering to enable macros. You can adjust this behavior in File > Options > Trust Center > Trust Center Settings > Macro Settings. The four options range from disabling all macros without notification (most restrictive) to enabling all macros (not recommended). For business environments, the safest practical setting is Disable all macros with notification, allowing users to enable macros in trusted files explicitly. Trusted Locations can be configured so that files stored in designated folders automatically have macros enabled without prompting. Macros should only be enabled in files from known, trusted sources. Understanding these security settings is critical for IT administrators and business users alike when deploying macro-enabled Excel files across organizations or shared drives.