Returns an Application object that represents the parent application (Microsoft Outlook) for an object. Read-only.
expression.Application
expression Required. An expression that returns an Outlook object.
Example
This Visual Basic for Applications (VBA) example uses the Application property to access Outlook and then creates a new MailItem and displays the version of Outlook used to create the item.
Sub CreateMailItem()
Dim myolApp As Outlook.Application
Dim myItem As Outlook.MailItem
Set myolApp = CreateObject("Outlook.Application")
Set myItem = myolApp.CreateItem(olMailItem)
MsgBox myItem.Application.Version
End Sub
If you use VBScript, you do not use the Application property to retrieve the Application object. Instead, you reference the Application object directly.
Set myItem = Application.CreateItem(0)
myItem.Display