Microsoft KB Archive/289144

= OL97: Custom Form Without Code Causes Macro Warning =

Article ID: 289144

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Outlook 97 Standard Edition

-



This article was previously published under Q289144





SYMPTOMS
You receive the &quot;Enable/Disable&quot; 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 &quot;one-off&quot; 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

