Application Methods (Outlook)

GitHub-Mark-64px

Contribute to this content

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

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.