Word is a document creator and word processor which belongs to the package of Microsoft Office. Through the software and its multiple tools, you can write, edit, brochures, triptychs, or any textual material.
The program also provides tips for improving grammar and writing style. Another of his functions, is the possibility of create macros.
A series of instructions that are grouped in the same command to carry out any task of automatic way. In this way, you can save time when doing any work in Word. Do you want to know how to run a macro?.
What should we be careful about before running external macros in Word?
The system Microsoft Word takes care of limiting macros, since said commands can be harmful to your computer and user information, since they can allow access by malicious programs.
The malware that come in the form of a macro file are the most common method for infect a computer with a virus. By having the automatic macro execution on the computer, it is likely that open a corrupt file, a virus is downloaded that violates the team safety.
For this reason, it is essential avoid opening any strange or unreliable documents. In the event that you have arrived in a spam mail, or has been downloaded from a website with pop-up advertising, under no circumstances should you open this document.
From version of Microsoft Office 2016, network administrators can block the execution of external macros.
However, if you don’t have that version, you can disable macros with these steps:
- Login to “Records”.
- Click on “Options”.
- Press “Trust Center”.
- Choose “Trust Center Configuration”.
- In the tab “Macro settings”, check or uncheck the boxes to be agreed. By default, the only checked box on the board, is the option of “Disable all macros with notification”.
Steps to run a macro in a Microsoft Word document
The task automation process through the creating and running macros It is very simple. Simply, you must record and run the macro from the toolbar, or with the specific key combination.
To start engraving, start with:
- Go to the tab “View”.
- On the toolbar, under the right side, the button is located “Macros”.
- Tap on “Macros” to display the menu.
- Choose “Record macro”.
- A new window will open, where you should give the macro a name. For what the command works in any document, you must save the macro in “All documents (Normal.dotm)”
- You can choose between assign the macro to a button, or to the keyboard.
- If you press “Button”, a new window will open with two columns, separated by the buttons “Add” Y “Remove”.
- At left side, the newly created macro command is located. You can locate it as: “Normal.NewMacros.Macro1” (Instead of “Macro1”, the name you have assigned to the command should appear).
- On the other hand, in the Right side, it’s found the quick access toolbar. Select the macro and then press “Add”.
- The command will be added to the quick access bar.
- Now in the Lower right corner, press the button “Modify”. A new window will open, where you must select an icon to identify the command. Likewise also you have to provide the name of the macro.
- Then, you just have to press “To accept” in both windows.
- Now, it’s time to record the actions you want to integrate into the macro. Take into consideration that Word will take care of record all clicks made as well as keystrokes made while recording.
- When you’re done, you must stop recording. Again, go to the tab “View”. Press “Macros” and select “Stop recording”.
From this point on, the macro button will appear in the quick access toolbar. Thus, for run the command, you just have to Press the button correspondent.
In the case of choosing the key combination instead of a button, the procedure is quite similar:
- After pressing “Record macro”, and select the button “keyboard”, you will need to assign a key combination to execute the command.
- In the new window that will open, enter the keys to use in the box “New shortcut”. Make sure these keys are not assigned to other functions.
- For what the combination run the macro in any document, you must save the changes in “Normal.dotm”. Then press “to assign”.
- Now, you must record the actions you want to integrate into the macro. When finished, go to “View”, click on “Macros” and click on “Stop recording”.
- In this way, to run the macro You only have to enter the key combination you specified above.
Finally, another way to run a macro, it is through the macro list. To view the list, you must click on “Macros” from the tab “View” and click “View macros”. In that list, select the macro and then press “Run”.
If you have any questions, leave them in the comments, we will answer you as soon as possible, and it will also be of great help to more members of the community. Thank you! 😉