Microsoft KB Archive/176312

= WD97: Macro Shortcut Key Assignments Do Not Display =

Article ID: 176312

Article Last Modified on 1/22/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q176312





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, 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 commands that display shortcut keys on menus or in screen tips will automatically show key assignments when customized on toolbars or menus.

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

163547 WD97: How to Create Custom Toolbars and Toolbar Buttons

163547 OFF97: How to Add a Command to a New Toolbar

169870 WD: Customizing and Sharing Toolbars In Microsoft Word

Additional query words: vba visual basic

Keywords: kbhowto KB176312

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.