The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you assign a macro to a menu command on the Tools menu, and you then change the name of the macro, you will receive the following error message when you choose the menu command where Book1 is the name of the workbook file the macro was stored in, and Macro_Name is the original name of the macro. CAUSEWhen you assign a macro to a command on the Tools menu, Microsoft Excel creates a link to the macro in the specified workbook. When you change the name of the macro, this change is not reflected in the link between the macro and the menu command; therefore, when Microsoft Excel tries to run the original macro, it is unable to locate it. WORKAROUND
To work around this situation, do the following:
REFERENCES"Visual Basic User's Guide," version 5.0, page 16 Additional query words: 5.00c
Keywords : |
Last Reviewed: October 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |