OL2000: Global Variables Not Available in Quit Event (280359)
The information in this article applies to:
This article was previously published under Q280359 SYMPTOMS
In Microsoft Outlook Visual Basic for Applications, global variables are not available in the Application_Quit event. In addition, other code that you are using in the Quit event may not function as expected.
CAUSE
The Quit event runs after Outlook has already released, or destroyed, the variables.
WORKAROUND
Implement a COM add-in instead of using Outlook Visual Basic for Applications. For additional information about creating a COM add-in for Outlook, click the article number below
to view the article in the Microsoft Knowledge Base:
230225 OL2000: How to Create a COM Add-in for Outlook
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. REFERENCESFor additional information about available resources and answersto commonly asked questions about Microsoft Outlook solutions, click the article number below
to view the article in the Microsoft Knowledge Base:
146636 OL2000: Questions About Custom Forms and Outlook Solutions
Modification Type: | Minor | Last Reviewed: | 2/27/2004 |
---|
Keywords: | kbDSWNET2003Swept kbbug kbnofix KB280359 |
---|
|