MailItem.Application Property (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

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

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

expression .Application

expression A variable that represents a MailItem object.

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
Show: