how+to+create+a+macro

Although you can access a couple of basic macro tools from the View tab in Microsoft Word 2007, you gain a lot more control over the utilities from the Developer tab. If the Developer tab currently isn’t visible in your copy of Word, it can be easily added by following these steps. Click on the Office button in the upper left-hand corner of Word and select Word Options as shown in the screenshot below.



In the Word Options window, make sure Popular is selected and then put a check in the box next to Show Developer tab in the Ribbon.

Click OK when done to return to your Word document. The Developer tab will now be visible on the Word ribbon.

Step 1: Open the Developer tab. Click on Record Macro in the Code section of the tab.



Step 2: Pick a name for your new command and type it into the Macro name field in the Record Macro dialog box. Note that the macro name must begin with a letter, and it cannot contain any special characters, symbols, or spaces. Also, while this is optional, it’s a good idea to go ahead and type in a description for the macro. You can leave this field blank if the name of the macro makes the function of the command obvious, but it never hurts to include a short description.



Step 3: Decide where you want to store the macro. If you choose to store it in All Documents, it will be stored in the global template and accessible from any document you create later on down the line. If the macro is really only intended to be used for the current document you are working in, you can choose to store it there instead so as not to clutter up the global template with an unused macro.



You can also create a shortcut for the macro here if desired. We’ll wait and discuss how to do that in Part 2 of this series. Click OK to continue to the next step. Step 4: Perform the set of actions that you want the macro to include. It’s important to note here that you need to use your keyboard when performing these tasks since most mouse movements and actions will not be recorded. If you need to type in anything that you don’t want the macro to include, click on Pause Recording in the Developer tab. When you are done and want to start recording actions again, click on Resume Recorder.

Step 5: When you’ve finished executing all of the commands that you want the macro to include, click on Stop Recording.