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.
expression.Creator
expression Required. An expression that returns one of the objects in the Applies To list.
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
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.