Monday, January 4, 2021

Recording and running a macro

What is a macro?

        A macro is a series of commands and instructions that you group together as a single command to complete a task automatically. A macro saves your time by combining a series of actions into a single command. Macros are ideal for tasks you frequently perform. A macro is a series of command that is recorded so it can be played back or execute it later. 

Recording and running a macro

1. Click on View tab

2. Click on the down arrow⏷ of Macros.

3. Click on Record Macro.










4. Type a name for the macro (a macro name must begin with a letter and cannot contain spaces)

5. To enter a description type in this area.




















6. Click on keyboard to assign a keyboard shortcut to the Macro.


















The customize keyboard dialog box appears.

7. To specify a keyboard shortcut for the macro press and hold down the
Alt key as you press a letter or number key.

8. This area displays the word(unassigned)

If the word (unassigned) is not displayed the keyboard shortcut you specified is already assigned to another command. Press the Backspace key to delete the shortcut and then repeat step 7.

9. Click on Assign  button to assign the keyboard shortcut to your Macro.

10. Click on Close button to continue.


















11. Perform the actions you want the Macro to include.

12. Here in this example a school name and address is inserted into the document.
12. Click on stop recording       when you have completed all the actions you want the Macro to include. Now you can run the macro.




































Run a macro using a toolbar
1. Click on View tab in the Ribbon.
2. Click on the down arrow⮟ of macros.
3. Click on view macros.


    


  







Macros dialog box will appear. This area displays the available macros
4. Click on the name of the macro you want to run.
    This area displays a description of the macro you selected.
5. Click on run to run the macro.
    Word automatically performs the actions you recorded, when you run a macro.





































Word automatically performs the actions you recorded, when you run a macro.

















To run a macro using the keyboard shortcut
1. Point the insertion point where you want the results of the macro to appear.
2. Press the keyboard shortcut you assigned (Alt +D) to the macro.
    The macro performs the actions you recorded.













How to run a macro👉


No comments:

Post a Comment

Bubble chart in Excel

  Bubble chart in Excel:           Bubble chart show the relationships between sets of values.          Bubble chart compare at least three ...