OL2000: Can't Run Macro After Renaming Visual Basic for Applications Project (234887)



The information in this article applies to:

  • Microsoft Outlook 2000

This article was previously published under Q234887

SYMPTOMS

When you click a button on the Outlook toolbar, or select a command from a menu, Outlook displays the following error:
Cannot find Project1.ThisOutlookSession.<MacroName>

CAUSE

You renamed the Visual Basic for Applications project from Project1 to something else.

RESOLUTION

Use either of the following methods to work around the problem:

  • Rename the project, Project1. -or-

  • Delete the toolbar button or menu command causing the problem, and then create a new toolbar button or menu command that will use the new project name.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This problem does not occur with other Microsoft Office programs, such as Microsoft Word.

REFERENCES

For additional information about available resources and answers to commonly asked questions about Microsoft Outlook 2000 solutions, please see the following article in the Microsoft Knowledge Base:

146636 OL2000: Questions About Custom Forms and Outlook Solutions


Modification Type:MajorLast Reviewed:9/29/2003
Keywords:kbprb KB234887