Creator Property

Applies To

All objects.

Description

Returns the application that created this object, as a 32-bit integer. If the object was created by Microsoft Excel, this property returns the string XCEL, which is the hexadecimal number 5843454C. Read-only.

Remarks

The Creator property is designed to be used in Microsoft Excel for the Apple Macintosh, where each application has a four-character creator code. For example, Microsoft Excel has the creator code XCEL.

See Also

Application Property.

Example

This example displays a message about the creator of myObject.


Set myObject = ActiveWorkbook
If myObject.Creator = &h5843454c Then
    MsgBox "This is a Microsoft Excel object"
Else
    MsgBox "This is not a Microsoft Excel object"
End If