Creator 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