Microsoft KB Archive/201077

= OL2000: How to Programmatically Refer to Standard Fields =

Article ID: 201077

Article Last Modified on 10/9/2003

-

APPLIES TO


 * Microsoft Outlook 2000 Standard Edition

-



This article was previously published under Q201077





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 by 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 Visual Basic Reference
In the Microsoft Outlook Visual Basic Reference file, Vbaoutl9.chm, there is a section titled "Outlook fields and equivalent properties." In the Table of Contents for the Help file, it is located in:

   Working with Forms Customizing an Outlook Form Outlook fields and equivalent properties

Method 2: Refer to the Properties List in Help
You can also navigate to the item type that corresponds to the type of form you work 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.

