The information in this article applies to:
SYMPTOMSIn Microsoft Project, when you select a command from the Tools menu that you have assigned to run a macro, you may receive the following error message even if the macro exists where <filename> is the name of the file that contains your macro, such as Project1 or GLOBAL.MPT, <module> is the name of the module in which you created your macro, and <macro> is the name of the macro that you are trying to run. CAUSEThis problem occurs if you rename the module that contains a macro that you have assigned to the Tools menu. For example, if you assign the macro Macro1 to the Tools menu while Macro1 is contained in the module Module1 in Project1, if you then rename the module that contains Macro1, you receive the following error message when you choose the command on the Tools menu to run Macro1: Additionally, although you can assign the macro again to the Tools menu, you cannot remove the original menu command that runs the macro from the module with the original name. Note that this problem does not occur in Microsoft Project version 4.0 for the Macintosh. WORKAROUNDS
To avoid receiving this behavior when you rename a module, be sure to
remove any macro from the Tools menu that is contained in the module before
you rename the module.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. REFERENCESFor more information about Assigning Or Removing A Macro As A New Command On The Tools Menu, choose the Search button in Help and type: Tools menu Additional query words:
Keywords : kbcode kbprg |
Last Reviewed: October 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |