ID: Q176312
The information in this article applies to:
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.
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.
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:
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 : kbdta word97
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbhowto
Last Reviewed: February 12, 1999