Syntax

expression.Application

expression A variable that represents a XmlSchema object.

Example

This example displays a message about the application that created myObject.

Visual Basic for Applications
Set myObject = ActiveWorkbook If myObject.Application.Value = "Microsoft Excel" Then MsgBox "This is an Excel Application object." Else MsgBox "This is not an Excel Application object." End If

See also: