Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.25 KB

Excel.ShapeRange.Application.md

File metadata and controls

46 lines (29 loc) · 1.25 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ShapeRange.Application property (Excel)
vbaxl10.chm639073
vbaxl10.chm639073
Excel.ShapeRange.Application
1fd7d168-7d4e-c732-db7d-986757a0a483
05/14/2019
medium

ShapeRange.Application property (Excel)

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.

Syntax

expression.Application

expression A variable that represents a ShapeRange object.

Example

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

See also

ShapeRange Object

[!includeSupport and feedback]