
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Merge Workbooks
- Excel - File Password
- Excel - File Share
- Excel - Emoji & Symbols
- Excel - Context Help
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Shapes
- Excel - 3D Models
- Excel - CheckBox
- Excel - Add Sketch
- Excel - Scan Documents
- Excel - Auto Fill
- Excel - SmartArt
- Excel - Insert WordArt
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Move or Copy Cells
- Excel - Add Cells
- Excel - Delete Cells
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Excel - Highlight Cell Rules
- Excel - Top/Bottom Rules
- Excel - Data Bars
- Excel - Color Scales
- Excel - Icon Sets
- Excel - Clear Rules
- Excel - Manage Rules
- Working with Formula
- Excel - Formulas
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Relative References
- Excel - Absolute References
- Excel - Arithmetic Operators
- Excel - Parentheses
- Excel - Using Functions
- Excel - Builtin Functions
- Excel Formatting
- Excel - Formatting
- Excel - Format Painter
- Excel - Format Fonts
- Excel - Format Borders
- Excel - Format Numbers
- Excel - Format Grids
- Excel - Format Settings
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Sparklines
- Excel - Ads-ins
- Excel - Protection and Security
- Excel - Formula Auditing
- Excel - Remove Duplicates
- Excel - Services
- Excel Useful Resources
- Excel - Keyboard Shortcuts
- Excel - Quick Guide
- Excel - Functions
- Excel - Useful Resources
- Excel - Discussion
Using Macros in Excel
What are Macros in Excel?
Microsoft Excel Macros are small codes that automate repetitive tasks written in VBA. If you are unfamiliar with the VBA language, you can utilize the Macro recorder, which records your actions, like keystrokes and mouse clicks. It saves users time and performs similar tasks quickly after inspecting your actions. Macros are stored either in the active workbook or in the Personal Macro Workbook.
Record a Macros
Various methods to record a Macros −
- Utilize the "Record Macro" is available under the "Code" group in the "Developer" tab.
- It is also available in the View Choose the Macros button where the "Record Macro" option is presented.
- Use the "Record Macro" button available in the status bar.

How do you Create a Macro in Excel?
Microsoft Excel Macros can be created by recording the Macros available in the Developer tab. The task is to format the given dataset using Macro. Go to the Developer tab and select the "Record Macro" under the Code group.

After that, another dialog box, "Record Macro," will open. Specify the Macro name and type k in the Shortcut key: section. Optionally, you can write the Macro description in the Description box. And then click the Ok button.

Note − You can use the shortcut key ctrl +k to run the macro.
First, you must select the B2 cell and perform the various actions while recording Macro.
- Go to the Home tab and set the "Aptos narrow" font from the Font drop-down menu.
- Set the "Dark Blue" background color of the cell.
- Set the Font size to 14 and set the Italic and underlined font style.
The formatting of the B2 cell has changed. After that, press the "Stop the recording" button in the Status Bar.

Place the cursor on the C2 cell and press the shortcut key "ctrl + k". As you can see in the screenshot, a series of formatting actions are performed using Macros.

Similarly, you can modify the default formatting of the other cells.