Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.06 KB

Outlook.MailItem.Application.md

File metadata and controls

51 lines (28 loc) · 1.06 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
MailItem.Application property (Outlook)
vbaol11.chm1290
vbaol11.chm1290
Outlook.MailItem.Application
d71cb356-f3ae-ab08-4209-1dac0c2b8fdf
06/08/2017
medium

MailItem.Application property (Outlook)

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

Syntax

expression.Application

expression A variable that represents a MailItem object.

Example

This Visual Basic for Applications (VBA) example uses the Application property to access Outlook, creates a new MailItem and displays the version of Outlook used to create the item.

Sub CreateMailItem() 
 
 Dim myItem As Outlook.MailItem 
 
 
 
 Set myItem = Application.CreateItem(olMailItem) 
 
 MsgBox myItem.Application.Version 
 
End Sub

See also

MailItem Object

[!includeSupport and feedback]