WD: Duplicate Shortcut Keys on Menus Don't Execute Command

Last reviewed: November 17, 1997
Article ID: Q119417
The information in this article applies to:
  • Microsoft Word for the Macintosh, version 6.0
  • Microsoft Word for Windows, versions 6.0, 6.0a

SYMPTOMS

When a Word 6.0 menu contains two or more commands that use the same shortcut key, the first command that contains this shortcut assignment is highlighted, but the command is not executed. Pressing the shortcut key again moves you to the next command. If you press RETURN or ENTER when the command is highlighted, the command will be executed.

CAUSE

When multiple menu items are defined using the same shortcut key, Word will not be able to recognize which command you want to execute, so it will highlight the first occurrence.

RESOLUTION

Redefine the menu items so that each menu item has a unique shortcut key assignment. To reassign a shortcut key:

  1. From the Tools menu, choose Customize.

  2. Select the Menus tab.

  3. Under Categories, select the menu you need to modify.

  4. From the Commands list, select the menu item.

  5. In the Name On Menu box, change the name so that the ampersand precedes a different character.

  6. Choose the Rename button. Choose the Close button.

MORE INFORMATION

In Word for the Macintosh, you can select MenuMode by pressing COMMAND+TAB or F10. This modifies the menus temporarily so that an underscore appears beneath a letter. When in this mode, the underlined letter is identified as the shortcut key. Pressing this letter on the keyboard highlights the command when two or more commands are assigned the same shortcut key. If only one command on the menu has the shortcut assignment, the command will be executed when the letter is pressed.


KBCategory: kbusage
KBSubcategory:
Additional reference words: 6.0 6.0a shortcut key accelerator ampersand
word6 highlight execute doesn't select winword macword
Keywords : macword winword word6 kbprint
Version : 4.0, 5.0, 5.1, 6.0


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: November 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.