OL2000: How to Programmatically Refer to Standard Fields

ID: Q201077


The information in this article applies to:
  • Microsoft Outlook 2000


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 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
      Customzing 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 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.


REFERENCES

For additional information about available resources and answers to commonly asked questions about Microsoft Outlook 2000 solutions, please see the following article in the Microsoft Knowledge Base:

Q146636 OL2000: Questions About Custom Forms and Outlook Solutions

Additional query words: OutSol OutSol2000 OL2K

Keywords : kbdta
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: May 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.