WD2000: Shortcut Key Assignment Lost Moving Macro

ID: Q220637


The information in this article applies to:
  • Microsoft Word 2000


SYMPTOMS

When you assign a shortcut key to a Visual Basic for Applications macro and then move the macro to a different module, document, or template, the assigned shortcut key no longer runs the macro.


CAUSE

This behavior is by design. Word cannot track and maintain assigned shortcut key relationships to macros that are moved to different modules, documents, or templates.


WORKAROUND

To work around this limitation, you can re-assign the shortcut key to the macro that has been moved.

To assign a keystroke to a macro:

  1. On the Tools menu, click Customize.


  2. Click Keyboard.


  3. In the Save changes in box, click the current document name or template in which you want to save the shortcut key changes.


  4. In the Categories box, scroll to click Macros.


  5. In the box to the right, click the name of the command or other item.


  6. Any shortcut keys that are currently assigned appear in the Current keys box.


  7. In the Press new shortcut key box, type the shortcut key combination you want to assign.


  8. Click Assign.


Additional query words: vba keyboard keystroke keys procedure routine

Keywords : kbdta kbwordvba wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: July 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.