How to create and use macros in Word

A macro is a command that executes a job script, built into Word that automatically runs when you create it, eliminating the need for repetitive tasks in Word.

A macro is a command that executes a job script, built into Word that automatically runs when you create it, eliminating the need for repetitive tasks in Word.

Just create a Macro you can use it when needed, creating a Macro is a record of all the operations you process in Word and saved as a set of commands. When using you just press Alt + F8 to it perform the recorded operation.

This article shows you how to create and use macros in Word.

Step 1: First, to use macros, you need to install macros in Word.

1. Select File -> Options .

How to create and use macros in Word Picture 1How to create and use macros in Word Picture 1

2. Select Trust Center in the left menu and select Trust Center Settings .

How to create and use macros in Word Picture 2How to create and use macros in Word Picture 2

3. In the Trust Center select Macro Settings and select Enable all macros (not recommended; potentially dangerous code can run) . Then click OK to save.

How to create and use macros in Word Picture 3How to create and use macros in Word Picture 3

Step 2: Create a Macro.

1. Select View -> Macros -> Record Macro to start creating Macros.

How to create and use macros in Word Picture 4How to create and use macros in Word Picture 4

2. At the Record Macro interface , you name the Macro in the Macro Name section . Macro Name is set according to your purpose of use:

- AutoNew: New macro runs when you create a new document.

- Autoclose: New macros run whenever you close a document.

- AutoExec: New macros run whenever you start Word.

- AutoExit: New macros run whenever you exit Word.

- AutoOpen: New macros run whenever you open a new document.

After naming, in Assign macro you choose the hammer icon next to the word Button .

How to create and use macros in Word Picture 5How to create and use macros in Word Picture 5

3. Customize the Quick Access Toolbar showing you double click on Normal NewMacros.AutoNew , this item will be moved to the right then click OK to assign Macro.

How to create and use macros in Word Picture 6How to create and use macros in Word Picture 6

4. The cursor will have an icon below, which will record all your actions in Word. You make alignment, or enter text as you like.

How to create and use macros in Word Picture 7How to create and use macros in Word Picture 7

5. After you have completed the operations you want to record, you select View -> Macros -> Stop Recording to finish creating Macro.

How to create and use macros in Word Picture 8How to create and use macros in Word Picture 8

Step 3: Open New document ( File -> New or press Ctrl + N ) at this time the newly created Word document will also automatically run Macros.

You can perform the manipulation of creating macros by setting different names to suit each of your intended use. So you can shorten the time if you do the same work on Word. Good luck!

5 ★ | 1 Vote