Microsoft KB Archive/285202

= List of Outlook 2002 object model constants =

Article ID: 285202

Article Last Modified on 3/23/2006

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q285202



SUMMARY
This article describes how you can determine the value of constants for the Microsoft Outlook object model, and also provides a list of all Microsoft Outlook 2002 object model constants.



MORE INFORMATION
In earlier versions of Microsoft Office, and in later versions of Office, the Microsoft Visual Basic Reference Help files provide the values of object model constants. However, in Outlook 2002, the Visual Basic Reference Help files do not provide these values. Additionally, the Outlook Visual Basic Reference no longer contains a topic listing all the Outlook constants and their corresponding values.

If you are developing custom Outlook forms using Microsoft Visual Basic Scripting Edition (VBScript), or developing in an environment in which you cannot reference the Outlook object model, you must use the value of the constants in your code and cannot refer to the constants by name. To view the Outlook constants, you must use the Outlook object browser in the Outlook Script Editor, or you can use the object browser that is available with the Visual Basic Editor that is used with Visual Basic for Applications.

As an alternative, the following list of Outlook 2002 constants can serve as a quick summary of constant values. You may want to copy and paste this information into a word processor and reformat it to fit on one or two pages so that you print it out as a reference.

Outlook 2002object model constants
OlActionCopyLike olReply = 0 olReplyAll = 1 olForward = 2 olReplyFolder = 3 olRespond = 4

OlActionReplyStyle olOmitOriginalText = 0 olEmbedOriginalItem = 1 olIncludeOriginalText = 2 olIndentOriginalText = 3 olLinkOriginalItem = 4 olUserPreference = 5 olReplyTickOriginalText = 1000

OlActionResponseStyle olOpen = 0 olSend = 1 olPrompt = 2

OlActionShowOn olDontShow = 0 olMenu = 1 olMenuAndToolbar = 2

OlAttachmentType olByValue = 1 olByReference = 4 olEmbeddeditem = 5 olOLE = 6

OlBusyStatus olFree = 0 olTentative = 1 olBusy = 2 olOutOfOffice = 3

OlDaysOfWeek olSunday = 1 olMonday = 2 olTuesday = 4 olWednesday = 8 olThursday = 16 olFriday = 32 olSaturday = 64

OlDefaultFolders olFolderDeletedItems = 3 olFolderOutbox = 4 olFolderSentMail = 5 olFolderInbox = 6 olFolderCalendar = 9 olFolderContacts = 10 olFolderJournal = 11 olFolderNotes = 12 olFolderTasks = 13 olFolderDrafts = 16 olPublicFoldersAllPublicFolders = 18

OlDisplayType olUser = 0 olDistList = 1 olForum = 2 olAgent = 3 olOrganization = 4 olPrivateDistList = 5 olRemoteUser = 6

OlEditorType olEditorText = 1 olEditorHTML = 2 olEditorRTF = 3 olEditorWord = 4

OlFlagStatus olNoFlag = 0 olFlagComplete = 1 olFlagMarked = 2

OlFolderDisplayMode olFolderDisplayNormal = 0 olFolderDisplayFolderOnly = 1 olFolderDisplayNoNavigation = 2

OlFormRegistry olDefaultRegistry = 0 olPersonalRegistry = 2 olFolderRegistry = 3 olOrganizationRegistry = 4

OlGender olUnspecified = 0 olFemale = 1 olMale = 2

OlImportance olImportanceLow = 0 olImportanceNormal = 1 olImportanceHigh = 2

OlInspectorClose olSave = 0 olDiscard = 1 olPromptForSave = 2

OlItemType olMailItem = 0 olAppointmentItem = 1 olContactItem = 2 olTaskItem = 3 olJournalItem = 4 olNoteItem = 5 olPostItem = 6 olDistributionListItem = 7

OlJournalRecipientType olAssociatedContact = 1

OlMailingAddress olNone = 0 olHome = 1 olBusiness = 2 olOther = 3

OlMailRecipientType olOriginator = 0 olTo = 1 olCC = 2 olBCC = 3

OlMeetingRecipientType olOrganizer = 0 olRequired = 1 olOptional = 2 olResource = 3

OlMeetingResponse olMeetingTentative = 2 olMeetingAccepted = 3 olMeetingDeclined = 4

OlMeetingStatus olNonMeeting = 0 olMeeting = 1 olMeetingReceived = 3 olMeetingCanceled = 5

OlNetMeetingType olNetMeeting = 0 olNetShow = 1 olExchangeConferencing = 2

OlNoteColor olBlue = 0 olGreen = 1 olPink = 2 olYellow = 3 olWhite = 4

OlObjectClass olApplication = 0 olNamespace = 1 olFolder = 2 olRecipient = 4 olAttachment = 5 olAddressList = 7 olAddressEntry = 8 olFolders = 15 olItems = 16 olRecipients = 17 olAttachments = 18 olAddressLists = 20 olAddressEntries = 21 olAppointment = 26 olMeetingRequest = 53 olMeetingCancellation = 54 olMeetingResponseNegative = 55 olMeetingResponsePositive = 56 olMeetingResponseTentative = 57 olRecurrencePattern = 28 olExceptions = 29 olException = 30 olAction = 32 olActions = 33 olExplorer = 34 olInspector = 35 olPages = 36 olFormDescription = 37 olUserProperties = 38 olUserProperty = 39 olContact = 40 olDocument = 41 olJournal = 42 olMail = 43 olNote = 44 olPost = 45 olReport = 46 olRemote = 47 olTask = 48 olTaskRequest = 49 olTaskRequestUpdate = 50 olTaskRequestAccept = 51 olTaskRequestDecline = 52 olExplorers = 60 olInspectors = 61 olPanes = 62 olOutlookBarPane = 63 olOutlookBarStorage = 64 olOutlookBarGroups = 65 olOutlookBarGroup = 66 olOutlookBarShortcuts = 67 olOutlookBarShortcut = 68 olDistributionList = 69 olPropertyPageSite = 70 olPropertyPages = 71 olSyncObject = 72 olSyncObjects = 73 olSelection = 74 olLink = 75 olLinks = 76 olSearch = 77 olResults = 78 olViews = 79 olView = 80 olItemProperties = 98 olItemProperty = 99 olReminders = 100 olReminder = 101

OlOutlookBarViewType olLargeIcon = 0 olSmallIcon = 1

OlPane olOutlookBar = 1 olFolderList = 2 olPreview = 3

OlRecurrenceState olApptNotRecurring = 0 olApptMaster = 1 olApptOccurrence = 2 olApptException = 3

OlRecurrenceType olRecursDaily = 0 olRecursWeekly = 1 olRecursMonthly = 2 olRecursMonthNth = 3 olRecursYearly = 5 olRecursYearNth = 6

OlRemoteStatus olRemoteStatusNone = 0 olUnMarked = 1 olMarkedForDownload = 2 olMarkedForCopy = 3 olMarkedForDelete = 4

OlResponseStatus olResponseNone = 0 olResponseOrganized = 1 olResponseTentative = 2 olResponseAccepted = 3 olResponseDeclined = 4 olResponseNotResponded = 5

OlSaveAsType olTXT = 0 olRTF = 1 olTemplate = 2 olMSG = 3 olDoc = 4 olHTML = 5 olVCard = 6 olVCal = 7 olICal = 8

OlSensitivity olNormal = 0 olPersonal = 1 olPrivate = 2 olConfidential = 3

OlSortOrder olSortNone = 0 olAscending = 1 olDescending = 2

OlTaskDelegationState olTaskNotDelegated = 0 olTaskDelegationUnknown = 1 olTaskDelegationAccepted = 2 olTaskDelegationDeclined = 3

OlTaskOwnership olNewTask = 0 olDelegatedTask = 1 olOwnTask = 2

OlTaskRecipientType olUpdate = 2 olFinalStatus = 3

OlTaskResponse olTaskSimple = 0 olTaskAssign = 1 olTaskAccept = 2 olTaskDecline = 3

OlTaskStatus olTaskNotStarted = 0 olTaskInProgress = 1 olTaskComplete = 2 olTaskWaiting = 3 olTaskDeferred = 4

OlTrackingStatus olTrackingNone = 0 olTrackingDelivered = 1 olTrackingNotDelivered = 2 olTrackingNotRead = 3 olTrackingRecallFailure = 4 olTrackingRecallSuccess = 5 olTrackingRead = 6 olTrackingReplied = 7

OlUserPropertyType olOutlookInternal = 0 olText = 1 olNumber = 3 olDateTime = 5 olYesNo = 6 olDuration = 7 olKeywords = 11 olPercent = 12 olCurrency = 14 olFormula = 18 olCombination = 19

OlWindowState olMaximized = 0 olMinimized = 1 olNormalWindow = 2

OlSyncState olSyncStopped = 0 olSyncStarted = 1

OlBodyFormat olFormatUnspecified = 0 olFormatPlain = 1 olFormatHTML = 2 olFormatRichText = 3

OlDownloadState olHeaderOnly = 0 olFullItem = 1

OlOfficeDocItemsType olExcelWorkSheetItem = 8 olWordDocumentItem = 9 olPowerPointShowItem = 10

OlViewSaveOption olViewSaveOptionThisFolderEveryone = 0 olViewSaveOptionThisFolderOnlyMe = 1 olViewSaveOptionAllFoldersOfType = 2

OlViewType olTableView = 0 olCardView = 1 olCalendarView = 2 olIconView = 3 olTimelineView = 4

