Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.22 KB

Excel.TextFrame2.Creator.md

File metadata and controls

49 lines (29 loc) · 1.22 KB
title api_name ms.assetid ms.date ms.localizationpriority
TextFrame2.Creator property (Excel)
Excel.TextFrame2.Creator
a6621e71-b864-9e95-68d0-a74649bc15ec
06/08/2017
medium

TextFrame2.Creator property (Excel)

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Syntax

expression.Creator

expression A variable that represents a TextFrame2 object.

Remarks

If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. The Creator property is designed to be used in Microsoft Excel for the Macintosh, where each application has a four-character creator code. For example, Microsoft Excel has the creator code XCEL.

Example

This example displays a message about the creator of an Excel workbook.

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

[!includeSupport and feedback]