WD: Macro Shortcut Key Assignments Do Not Appear

Last reviewed: February 18, 1998
Article ID: Q176312
The information in this article applies to:
  • Microsoft Word 97 for Windows
  • Microsoft Word 98 Macintosh Edition

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.

When you add a custom macro with an assigned shortcut key to a menu or toolbar, do the following depending on which version of Word:

Word 97 for Windows

To place the macro and its shortcut key assignment on a menu or toolbar, follow these steps:

  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, if necessary, the name of the macro. Following the name of the macro, type in the shortcut key assignment.

  4. Click Close on the Customize dialog box.

Word 98 Macintosh Edition

To place the macro and its shortcut key assignment on a menu, do the following:

  1. On the Tools menu, click Customize. Click the Toolbars tab, and under Toolbars, select Menu Bar.

    NOTE: The actual Menu Bar will become inactive (grey) and a new activated Menu Bar will appear.

  2. Click the Commands tab.

  3. Under Commands, find your macro and drag it to a menu.

  4. Click Modify Selection, click in the Name box, and then change, if necessary, the name of the macro. Following the name of the macro, type in the shortcut key assignment.

  5. Click Close on the Customize dialog box.

To place the macro and its shortcut key assignment on a toolbar, do the following:

  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, if necessary, the name of the macro. 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 command will display its shortcut key assignments automatically when you add it to a menu.

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: Q163547
   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: vba visual basic
Keywords : word8 word97 macword98 kbdta
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbhowto
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 18, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.