TextFrame2.Creator property (Office)
Returns a 32-bit integer that indicates the application in which this object was created. Read-only. Long.
Syntax
expression.Creator
expression An expression that returns a TextFrame2 object.
Example
This example displays a message about the creator of an Excel workbook. In this example, the hexadecimal number 5843454C is equivalent to the string XCEL, which indicates that this object was created in Excel.
Sub FindCreator()
Dim myObject As Excel.Workbook
Set myObject = ActiveWorkbook
If myObject.TextFrame2.Creator = &h5843454c Then
MsgBox "This is a Microsoft Excel object."
Else
MsgBox "This is not a Microsoft Excel object."
End If
End Sub
See also
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.