Application Members (Outlook)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents the entire Microsoft Outlook application.

Events

Name

Description

AdvancedSearchComplete

Occurs when the AdvancedSearch method has completed.

AdvancedSearchStopped

Occurs when a specified Search object's Stop method has been executed.

BeforeFolderSharingDialog

Occurs before the Sharing dialog box is displayed for a selected Folder object.

ItemLoad

Occurs when an Outlook item is loaded into memory.

ItemSend

Occurs whenever an Microsoft Outlook item is sent, either by the user through an Inspector (before the inspector is closed, but after the user clicks the Send button) or when the Send method for an Outlook item, such as MailItem, is used in a program.

MAPILogonComplete

Occurs after the user has logged onto the system.

NewMail

Occurs when one or more new e-mail messages are received in the Inbox.

NewMailEx

Occurs when a new item is received in the Inbox.

OptionsPagesAdd

Occurs whenever the user clicks the Add-in Options button on the Add-ins tab of the Outlook Options dialog box.

Quit

Occurs when Microsoft Outlook begins to close.

Reminder

Occurs immediately before a reminder is displayed.

Startup

Occurs when Microsoft Outlook is starting, but after all add-in programs have been loaded.

Methods

Name

Description

ActiveExplorer

Returns the topmost Explorer object on the desktop.

ActiveInspector

Returns the topmost Inspector object on the desktop.

ActiveWindow

Returns an object representing the current Microsoft Outlook window on the desktop, either an Explorer or an Inspector object.

AdvancedSearch

Performs a search based on a specified DAV Searching and Locating (DASL) search string.

CopyFile

Copies a file from a specified location into a Microsoft Outlook store.

CreateItem

Creates and returns a new Microsoft Outlook item.

CreateItemFromTemplate

Creates a new Microsoft Outlook item from an Outlook template (.oft) and returns the new item.

CreateObject

Creates an automation object of the specified class.

GetNamespace

Returns a NameSpace object of the specified type.

GetObjectReference

Creates a strong or weak object reference for a specified Outlook object.

IsSearchSynchronous

Returns a Boolean indicating if a search will be synchronous or asynchronous.

Quit

Closes all currently open windows.

RefreshFormRegionDefinition

Refreshes the cache by obtaining the current definition from the Windows registry for one or all of the form regions that are defined for the local machine and the current user.

Properties

Name

Description

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Assistance

Returns an IAssistance object used to invoke help. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

COMAddIns

Returns a COMAddIns collection that represents all the Component Object Model (COM) add-ins currently loaded in Microsoft Outlook.

DefaultProfileName

Returns a String representing the name of the default profile name. Read-only.

Explorers

Returns an Explorers collection object that contains the Explorer objects representing all open explorers. Read-only.

Inspectors

Returns an Inspectors collection object that contains the Inspector objects representing all open inspectors. Read-only.

IsTrusted

Returns a Boolean to indicate if an add-in or external caller is considered trusted by Outlook. Read-only

LanguageSettings

Returns a LanguageSettings object for the application that contains the language-specific attributes of Outlook. Read-only.

Name

Returns a String value that represents the display name for the object. Read-only.

Parent

Returns the parent Object of the specified object. Read-only.

PickerDialog

Returns a PickerDialog object that provides the functionality to select people or data in a dialog box. Read-only.

ProductCode

Returns a String specifying the Microsoft Outlook globally unique identifier (GUID). Read-only.

Reminders

Returns a Reminders collection that represents all current reminders. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

TimeZones

Returns a TimeZones collection that represents the set of time zones supported by Outlook. Read-only.

Version

Returns or sets a String indicating the number of the version. Read-only.