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 .
2. Select Trust Center in the left menu and select Trust Center Settings .
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.
Step 2: Create a Macro.
1. Select View -> Macros -> Record Macro to start creating Macros.
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 .
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.
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.
5. After you have completed the operations you want to record, you select View -> Macros -> Stop Recording to finish creating Macro.
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!