Edit

Share via


Creator property (Excel Graph)

Returns a 32-bit integer that indicates the application in which the specified object was created. If the object was created in Graph, this property returns the string MSGR, which is equivalent to the hexadecimal number 4D534752. Read-only XlCreator.

Syntax

expression.Creator

expression Required. An expression that returns one of the objects in the Applies To list.

Example

This example displays a message about the creator of myChart.

If myChart.Creator = &h4D534752 Then 
    MsgBox "This is a Graph object" 
Else 
    MsgBox "This is not a Graph object" 
End If

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.