ColorStops.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.

Version Information

Version Added: Excel 2007

Syntax

expression .Application

expression An expression that returns a ColorStops object.

Return Value

Application

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

Concepts

ColorStops Object

ColorStops Object Members