Creator Property

Microsoft Graph Visual Basic

Creator Property

       

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

XlCreator can be one of these XlCreator constants.
xlCreatorCode

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 Microsoft Graph object"
Else
    MsgBox "This is not a Microsoft Graph object"
End If