Microsoft KB Archive/234887

= OL2000: Can't Run Macro After Renaming Visual Basic for Applications Project =

Article ID: 234887

Article Last Modified on 9/29/2003

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



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.



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.

