What is a macro?


What is a macro?
In Microsoft Office Word 2007, you can automate frequently used tasks by creating macros. A macro is a series of commands and instructions that you group together as a single command to accomplish a task automatically.
Typical uses for macros are:
*  To speed up routine editing and formatting
*  To combine multiple commands — for example, to insert a table with a specific size and borders, and with a specific number of rows and columns
*  To make an option in a dialog box more accessible
*  To automate a complex series of tasks
How to record a macro?
1.  On the view tab, in the macro group, click Record Macro.
2.  In the Macro name box, type a name for the macro.
§  To assign the macro to a keyboard shortcut, do the following:
1.  Click Keyboard.
2.  In the Commands box, click the macro that you are recording.
3.  In the Press new shortcut key box, type the key sequence that you want, and then click Assign.
4.  Click Close to begin recording the macro
§  To assign the macro to the Quick Access Toolbar, do the following:
1.  Click Button.
2.  Under Customize Quick Access Toolbar, select the document (or all documents) for which you want to add the macro to the Quick Access Toolbar.
3.  Under Choose commands from dialog box, click the macro that you are recording, and then click Add.
4.  Click OK to begin recording the macro.

3.  Perform the actions that you want to include in the macro.
4.  To stop recording your actions, click Stop Recording in the Code group



Comments