OL2002: Macros Are Not Available In Customize Window (291866)



The information in this article applies to:

  • Microsoft Outlook 2002

This article was previously published under Q291866

SYMPTOMS

You try to customize the Outlook toolbars to run Visual Basic for Applications macros, but the macros are not listed in the Customize window.

CAUSE

You have not used any of the macro features since starting Outlook and therefore Outlook has not initialized the Visual Basic for Applications feature.

WORKAROUND

Before trying to customize the toolbars, use one of the following workarounds:

Method 1: Access the Macros Window

  1. On the Tools menu, point to Macro, and then click Macros.
  2. Click Cancel to close the Macros window.

Method 2: Start the Visual Basic Editor

  1. Press ALT+F11 to start the Visual Basic Editor.
  2. Close the Visual Basic Editor.
The macros will then be available in the Customize window.

STATUS

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

MORE INFORMATION

To access the Customize window, on the View menu, point to Toolbars, and then click Customize. Click the Commands tab and then select Macros in the list of categories.

When Outlook starts, by default it does not initialize the Visual Basic for Applications component for performance reasons. However, if you have application-level events in your Visual Basic for Applications project, then Outlook does initialize Visual Basic for Applications and you will not have this problem.

REFERENCES

For 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:

287530 OL2002: Questions About Custom Forms and Outlook Solutions


Modification Type:MinorLast Reviewed:2/26/2004
Keywords:kbbug kbnofix KB291866