OL98: Custom Form Without Code Causes Macro Warning (289145)



The information in this article applies to:

  • Microsoft Outlook 98

This article was previously published under Q289145

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:

181266 OL98: 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:

182376 OL98: 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:

180826 OL98: Resources for Custom Forms and Programming

182349 OL98: Questions About Custom Forms and Outlook Solutions


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