Microsoft KB Archive/218343

= OL2000: Published Form with Find Method Displays Macro Warning =

Article ID: 218343

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q218343





SYMPTOMS
When you use the Find method in Visual Basic Scripting Edition (VBScript) to retrieve one of the standard Outlook properties from an item, one of the following symptoms occurs:


 * A macro warning message unexpectedly appears when you open the item.
 * The Message Class field of the item changes from a custom message class to the default message class for that type of item.
 * The size of the item unexpectedly increases.



CAUSE
Using the Find method to retrieve a standard Outlook field results in a one-off item.

For additional information about one-off items, please see the following article in the Microsoft Knowledge Base:

207896 OL2000: Working with Form Definitions and One-Off Forms



WORKAROUND
Instead of using the Find method to refer to a standard field, use the more common syntax:

Item.



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



MORE INFORMATION
This problem does not occur when you use the Find method to retrieve user-defined fields.

