Worksheet.Creator Property
Gets a value that indicates the application in which the worksheet was created.
Namespace: Microsoft.Office.Tools.Excel
Assemblies: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
ReadOnly Property Creator As XlCreator
XlCreator Creator { get; }
Property Value
Type: Microsoft.Office.Interop.Excel.XlCreator
If the worksheet was created in Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C.
Remarks
This property is designed to be used in Microsoft Office Excel for the Macintosh, where each application has a four-character creator code. For example, Excel has the creator code XCEL.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.