How to Write Macros in Word 2007

How to Write Macros in Word 2007 thumbnail
Macros can save you steps.

A macro is simply a shortcut to performing several commands in sequence. In Microsoft Word, you can create a macro to format a document's font, apply a style or theme and even insert predefined text blocks. While it takes a bit of time to record a macro, the initial investment will speed up your work later. The method you use to write macros in Word 2007 is different than in prior versions of the program.

Instructions

    • 1

      Click the "Office Button" and select "Word Options." Go to "Popular" and select "Show Developer Tab in the Ribbon" under "Top Options for Working with Word." This will display the "Developer" tab on the ribbon.

    • 2

      Go to the "Developer" tab. Click "Macros" in the "Code" group.

    • 3

      Type a name for the macro in the "Macro Name" box. Select a document or template in which you want to store the macro in the "Macros in" list. Enter a brief description of what the macro does in the "Description" box.

    • 4

      Click the "Create" button. The Visual Basics Editor window opens.

    • 5

      Type in the code for the tasks you want the macro to perform. When you are finished, go to the "File" menu and click "Close and Return to Word" or use the keyboard shortcut "Alt" + "Q."

Related Searches:

References

Resources

  • Photo Credit laptop #6 image by Adam Borkowski from Fotolia.com

Comments

You May Also Like

Related Ads

Featured