Creator Property

Microsoft Excel Visual Basic

Show All

Creator Property

       

Creator property as it applies to the Adjustments, CalloutFormat, ColorFormat, DiagramNode, DiagramNodeChildren, DiagramNodes, FillFormat, LineFormat, PictureFormat, ShadowFormat, ShapeNode, ShapeNodes, TextEffectFormat, and ThreeDFormat objects.

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

expression.Creator

expression   Required. An expression that returns one of the above objects.

Creator property as it applies to all other objects in the Applies To list.

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

expression.Creator

expression   Required. An expression that returns all other objects in the Applies To list.

Remarks

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

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