WD: Macro Shortcut Key Assignments Not on Menu, Toolbar

ID: Q190073

The information in this article applies to:

SYMPTOMS

If you assign a shortcut key combination to a macro in Word and you then add the macro to a menu or toolbar, the shortcut key assignment will not appear on the menu or toolbar.

WORKAROUND

When you create a custom macro with an assigned shortcut key, follow these steps to place the macro and its shortcut key assignment on a menu or toolbar:

1. On the Tools menu, click Customize. Click the Commands tab, and under

   Categories, select Macros.

2. Under Commands, find your macro and drag it to a menu or toolbar.

3. Click Modify Selection, click in the Name box, and then change the name

   of the macro, if necessary. Following the name of the macro, type in
   the shortcut key assignment.

4. Click Close on the Customize dialog box.

MORE INFORMATION

Any built-in Word commands that display shortcut keys on menus or in screen tips will automatically show key assignments when customized to toolbars or menus.

For additional information about customizing features of Word, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q163547
   TITLE     : WD97: How to Create Custom Toolbars and Toolbar Buttons

   ARTICLE-ID: Q165070
   TITLE     : OFF97: How to Add a Command to a New Toolbar

   ARTICLE-ID: Q169870
   TITLE     : WD: Customizing and Sharing Toolbars In Microsoft Word

Additional query words: screentip fkey vba
Keywords          : kbmacro kbusage kbdta word6 word7 word95 
Version           : WINDOWS:6.0,6.0a,6.0c,7.0,7.0a
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbhowto

Last Reviewed: February 13, 1999