title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Windows.Application property (Excel) |
vbaxl10.chm353073 |
|
|
9720f646-5f98-7e0b-3b59-b93a2aecf7a3 |
05/18/2019 |
medium |
When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application.
When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.
expression.Application
expression A variable that represents a Windows object.
This example displays a message about the application that created myObject.
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
[!includeSupport and feedback]