Creating a Macro in Word
- Conor Jordan
- Jan 5, 2021
- 2 min read
A macro is an automatic function that carries out a task or several tasks. This is useful when a task needs to be repeated many times and can save time on repetitive tasks. When a macro is set up, the user can simply click on a button and the set of instructions is carried out instantly.
1. Open a new document
2. On the Developer tab in the Code group, click on Record Macro

3. Name the Macro as “Table” and click OK
4. On the Insert tab in the Tables group, create a table with 4 columns and 3 rows
5. Format the table as Grid Table 4 – Accent 6
6. On the Table Tools Layout tab in the Data group, select Repeat Header Rows
7. On the Developer tab in the Code group, select Stop Recording
8. Save the document as “Macro”
Run a Macro
Running a macro is when a user makes the macro perform its specified task. Users can make many different macros for tasks that are often repeated.
1. Open the “Macro” document
2. On the Developer tab in the Code group select Macros

3. Select Table and click on Run
4. This will run the macro and create the formatted table
5. Save the document
Creating a Custom Button
Users can change the macro’s button appearance to suit the type of macro. This can then be placed in the ribbon where the user has easy access to it.
1. Open the “Macro” document
2. Right-click on an empty space on the ribbon
3. Choose Customize the Ribbon
4. In the Choose Commands From drop-down box choose Macros
5. Click on the New Group button to create a new group
6. Click on the Rename button
7. Change the name of the group to Macro
8. Click OK
9. Select the Macro and click on the Add button
10. Click on the Rename button

11. Choose a Smiley Face for the icon and change the Display Name to Table
12. Click OK
13. Click OK again
14. The Macro is now added to the Ribbon
15. Save the document
For more information related to Advanced Word click the button:
Comments