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 .

Picture 1 of How to create and use macros in Word

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

Picture 2 of How to create and use macros in Word

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.

Picture 3 of How to create and use macros in Word

Step 2: Create a Macro.

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

Picture 4 of How to create and use macros in Word

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 .

Picture 5 of How to create and use macros in Word

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.

Picture 6 of How to create and use macros in Word

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.

Picture 7 of How to create and use macros in Word

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

Picture 8 of How to create and use macros in Word

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!

Update 19 May 2020
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile