Renaming Macro Removes Key, Menu, and Tool Bar Assignments

Last reviewed: July 30, 1997
Article ID: Q83205
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c

SUMMARY

If you rename a macro in Microsoft Word for Windows versions 1.x or 2.x, any custom key combination, menu assignment, or tool bar assignment for the macro is lost. In version 6.0, key combinations and menu assignments update when the macro name is changed, but toolbar assignments do not update automatically. These items must be manually reassigned to the new macro name.

MORE INFORMATION

When you assign a macro to a key combination, menu, or tool bar button, Word for Windows assigns the actual name of the macro to that item. If you rename a macro, the key combination, menu, and tool bar assignments may not update to reflect the new name.

In Word for Windows version 6.0, toolbar assignments to nonexistent macro names will cause the following message to appear in the status bar:

   The macro names <macroname> does not exist.

If a macro is assigned to a tool and the name of the macro is changed in the Macro Organizer, Word will not find the macro associated with the tool. Keyboard assignments and menu definitions pointing at the same macro will continue to work.

In Word for Windows version 2.0, menu items assigned to nonexistent macro names are unavailable. If you choose the tool bar button, nothing happens. If you press the key combination, Word beeps, but no macro is initiated. In Word for Windows version 1.x, menu items assigned to nonexistent macro names remain available; however, no action occurs if you choose the menu item. If you press the key combination, Word beeps, but no macro is initiated.

If you rename the macro with its original name, its key combination, menu assignment, or tool bar assignment is restored, with one exception. In Word for Windows version 2.0, if you choose Options from the Tools menu and select the Menu category, Word removes all menu items with unknown macro names when you choose the Close button. Renaming the macro to the original name does not restore the menu assignment in this case.

REFERENCES

"Microsoft Word for Windows User's Guide," version 2.0, pages 721-737

"Microsoft Word for Windows User's Reference," version 1.x, pages 172-173, 186-187

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: winword2 1.0 1.0 1.1 1.10 1.1a 1.10a 2.0
winword 2.0a 2.0a toolbar dimmed greyed grayed 2.0b 2.0a-CD 2.0b 2.0a-CD
word6 word6

Version : 1.x 2.x 6.0 6.0a 6.0c
Platform : WINDOWS


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