Make macros easier to run

Use the Tools → Customize command to add toolbar buttons that execute your macros.

  1. Choose Tools ? Customize.
  2. Click the Commands tab.

    Customize dialog box

  3. In the Save in drop-down list, select where you want to save the custom button.
    You should generally save the button in the same template in which the macro itself is saved.
  4. In the Categories list, choose Macros.
  5. In the Commands list, select your macro.
  6. Drag your macro to a toolbar.
  7. Right-click the toolbar button to configure its appearance.

    To create a button with an image, choose Change Button Image and select an image and/or Edit Button Image to create an icon. Then select Default Style, which means "image only."

If you have many macros, your toolbar could get crowded with buttons for custom macros. At this point, you might consider instead adding a single button to the toolbar: the Tools ? Macro ? Macros command. In the Customize dialog box, select Tools in the Categories list and select Macros in the Available commands list.

You can also create a keyboard shortcut to your macro.

  1. Choose Tools ? Customize.
  2. Click the Commands tab.
  3. Click the Keyboard button.

    Customize Keyboard dialog box

  4. In the Save changes in box, select where you want the keyboard shortcut to be saved.
    It is recommended that you save all keyboard shortcuts in your Normal template. Having different keyboard shortcuts in different templates is likely to lead to confusion.
  5. In the Categories list, choose Macros.
  6. In the Commands list, select your macro.
  7. In the Press new shortcut key box, press the keyboard shortcut you wish to use. A shortcut key should include one or more modifiers (Ctrl, Shift, and/or Alt) and a letter or number.
    If a shortcut key is already assigned to a command, that command will appear in the Currently assigned to section. You can overwrite the default shortcuts. The goal is for Word to work the way you want it to work.
    Many of Word's built-in shortcut keys use the Ctrl modifier. We recommend you use Alt or a combination of two modifiers (Ctrl+Shift, Alt+Shift, or Ctrl+Alt) to create custom shortcuts. That way, you are less likely to run into conflicts where you have to overwrite an existing shortcut with a custom shortcut.
  8. Click Assign.
  9. Click Close to close the Customize Keyboard dialog box.
  10. Click Close to close the Customize dialog box.
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.