Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Microsoft Corporation
November 2002
Applies to:
Microsoft® Outlook® 2002
Summary: Use this list of Microsoft Outlook 2002 object model constant names and values to develop solutions with Microsoft Visual Basic. (12 printed pages)
If you are developing Microsoft Outlook 2002 solutions using Microsoft Visual Basic® Scripting Edition (VBScript) code, you refer to constants in your code by value instead of by name. To view Outlook constants and their values, you use the Outlook Object Browser in the Outlook Script Editor, or you use the Object Browser that is available with the Visual Basic Editor that is used with Visual Basic for Applications (VBA). You can also use the following list of Outlook constant names and values as a quick reference. In this list, constants are organized by type name and then by value.
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
OlBodyFormat
olFormatUnspecified = 0
olFormatPlain = 1
olFormatHTML = 2
olFormatRichText = 3
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
OlDownloadState
olHeaderOnly = 0
olFullItem = 1
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
OlOfficeDocItemsType
olExcelWorkSheetItem = 8
olWordDocumentItem = 9
olPowerPointShowItem = 10
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
OlSyncState
olSyncStopped = 0
olSyncStarted = 1
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
OlViewSaveOption
olViewSaveOptionThisFolderEveryone = 0
olViewSaveOptionThisFolderOnlyMe = 1
olViewSaveOptionAllFoldersOfType = 2
OlViewType
olTableView = 0
olCardView = 1
olCalendarView = 2
olIconView = 3
olTimelineView = 4
OlWindowState
olMaximized = 0
olMinimized = 1
olNormalWindow = 2