ListObject::Creator Property
Gets the application in which the ListObject was created.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Property Value
Type: Microsoft.Office.Interop.Excel::XlCreatorThe application in which the ListObject was created.
If the object was created in Microsoft Office Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C.
The following code example creates a ListObject and checks whether the creator code matches Excel. If the creator code matches, the code displays a message box.
This example is for a document-level customization.
Show: