Microsoft KB Archive/293159

= OL2002: How to Programmatically Refer to Standard Fields =

Article ID: 293159

Article Last Modified on 3/1/2004

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q293159





SUMMARY
This article describes two ways to determine how to refer to a standard Outlook field using Visual Basic Scripting Edition (VBScript) or Visual Basic for Applications automation code.



MORE INFORMATION
In many cases, the Outlook standard fields are referenced by a different name using the Outlook object model. To see how the fields names in Outlook match up to the property names in the Outlook object model, use either of these two methods:

Method 1: Refer to the Table Listing in the Outlook Forms Help File
In the Microsoft Outlook Forms help file, Olfm10.chm, there is a section titled &quot;Outlook fields and equivalent properties.&quot; In the Table of Contents for the Help file, it is located in:

   Working with Forms Working with Fields and Controls Outlook fields and equivalent properties

Method 2: Refer to the Properties List in Help
You can also use the Outlook Visual Basic Reference (Vbaol10.chm) to navigate to the item type that corresponds to the type of form you are working with. Examples include the objects ContactItem, MailItem, TaskItem, and such. On the Help pages that describe those types of items, you can click the Properties link at the top of the page to see the available property names that are valid for that item type.

