How to Add a Macro to Word

By C. K. MacLeod

Word icon

Macros can help you to identify areas in your writing that need improving. You can also use macros for formatting and editing tasks. Some word processing programs, like Microsoft Word, can handle macros. You'll find a list of writing macros you can try in this post, and the video below will show you how to add a macro to Word 2010:

Steps for Adding a Macro to Word

  1. Go to the View tab, and click on Macros in the Window area.
  2. Name your macro in the Macro name: box. Be sure your name has no spaces between words. For example, NeedlessWords.
  3. Click Create. You will now be taken to Word's VBA editor. This is where Word stores macros.
  4. Copy the macro script and paste it into Word's VBA. It will show you where to paste your macro (look for the section that has the same name as the macro you just named). Delete all the text that's there (everything from Sub to End Sub) and paste your macro script into the VBA editor.
  5. Close Word's VBA editor by going to File, Close and Return to Microsoft Word. Your macro will be saved and you can now use it with any Word document.

See this post for how to run a macro.

For further instructions on how to use macros, see Macros for Authors and Editors, in which Paul Beverley offers detailed instructions for understanding and running macros in various versions of Word.

Leave a Reply

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