OL97: Custom Form Without Code Causes Macro Warning (289144)



The information in this article applies to:

  • Microsoft Outlook 97

This article was previously published under Q289144

SYMPTOMS

You receive the "Enable/Disable" macro virus warning when you open an item, but the form does not contain Microsoft Visual Basic Scripting Edition (VBScript) code.

CAUSE

The item at one point contained code or some text in the Outlook Script Editor. If the text was later removed, the item is still marked as having code.

WORKAROUND

Either publish the form to a forms library so that the macro warning does not appear, or if you must use this item in a "one-off" scenario, recreate the custom form and do not place text into the Script Editor. For additional information about one-off forms, click the article number below to view the article in the Microsoft Knowledge Base:

176567 OL97: Working with Form Definitions and One-Off Forms

STATUS

This is a limitation of Outlook custom forms.

MORE INFORMATION

For additional information about why you receive the security warning when you open an item, click the article number below to view the article in the Microsoft Knowledge Base:

166780 OL97: Why Outlook Displays a Security Warning Opening an Item

REFERENCES

For additional information about creating solutions with Microsoft Outlook, click the article numbers below to view the articles in the Microsoft Knowledge Base:

166368 OL97: Resources for Custom Forms and Programming

170783 OL97: Questions About Customizing or Programming Outlook


Modification Type:MinorLast Reviewed:3/9/2005
Keywords:kbprb kbSCRAPKeep KB289144