How to Create and Run Macros in Word 2007/2010 the Easy Way

One very neat feature that all recent versions of MS Word have had is the ability to record and play macros (recorded keystrokes or commands) so that things you find yourself doing over and over again can be done automatically, and Microsoft made it even easier to do so in Word 2007, and left it unchanged in 2010.

To create a macro in Word, you first have to have something you want recorded, for this example, we will create a macro that will change the font of some highlighted text to Arial, the size to 16, and then make the text both bold and italicized, all automatically with just one click.

Before you can record a macro to do what you want, you have to first know yourself how to do it so that you can record those steps. In this case, the way to do it is to first highlight some text, then, follow these steps: click on the Current Font box and choose Arial, then click on the Current Font size box and select 16, then finish by clicking on the Bold and Italicize icons.

To create a macro to perform these steps, first highlight some text in your document, then click on the View tab on the main ribbon, then click on the tiny down arrow under the Macros icon to get the following drop-down menu..

Macro Menu with Drop-Down

Click where it says Record Macro and you should get a screen like this:

Record Macro - Initial Screen

Type in a name for your macro, then click on the Button icon.

Note: If you use more than one word in your macro name it must have an underscore between the two words or Word will reject it.

You should get a screen that looks like this:

Big Macro Screen

Click on the new macro name listed on the left side of the screen (under where it says <separator>) to highlight it, then click the Add button to add the macro to your Quick Access Toolbar , then click the Ok button.

The macro setup window will go away and you will be taken back to your document and your cursor will have been turned into a tiny picture of an old fashioned tape recorder. This means your macro is recording, so now it’s time to do the things you want recorded.

Click on the Current Font box and select Ariel.

Click on the Font Size box and select 16.

Click on the Bold and Italics icons.

Set Font

That’s all you want your macro to record, so to make it stop recording, click on the View tab again from the main ribbon, then click on Macros, and then Stop recording.

Stop Recording Icon

Your macro should now be ready for use. To test it, highlight some text, then look at the Quick Access Toolbar; on it there should be a new Macro icon:

Quick Access Bar Macro Icon

To test your macro, highlight some text, then click on the new Macro icon on your Quick Access Toolbar. Your macro should run and perform all of the formatting tasks you assigned it to do.

There are of course more options and ways to record macros in Word, but this is by far the easiest and simplest.

Comments [4]

  1. I want to assign a macro to automatically go to the next * in a document. Example:

    Name: *
    Date: *
    Subject: *

    I need to be able to go from one asterisk to another using a keyboard command like Alt+F8. I've tried creating a macro, but I think I'm missing something because when I try the Alt+F8 after creating the macro, it doesn't move to the next asterisk.

    Can you help?

  2. If you use field codes, you wont need to record a macro. Use Ctrl + F9 to insert the field code in place of the asterisk and then F11 to move to the next field code. To view the field codes use ALT + F9. Hope this helps!

  3. How can i create macros by using styles in word 2007.
    P : Test paragraph
    P: Test paragraph

  4. how do I create a macro for a Word document so that the body of the document goes into the body of an email? Not as an attachment.

Leave a Reply

Your email address will not be published. Required fields are marked *