Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.12 KB

Excel.pivotvaluecell.creator.md

File metadata and controls

52 lines (32 loc) · 1.12 KB
title keywords f1_keywords ms.assetid ms.date ms.localizationpriority
PivotValueCell.Creator property (Excel)
vbaxl10.chm917074
vbaxl10.chm917074
85b4c0bf-3654-af39-413e-8c22c00626f3
05/07/2019
medium

PivotValueCell.Creator property (Excel)

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

Syntax

expression.Creator

expression A variable that represents a PivotValueCell object.

Remarks

Because the object was created in Microsoft Excel, this property returns the hexadecimal value, 5843454C, which represents the string XCEL.

Property value

XLCREATOR

Example

The following code uses the Creator property to check whether the specified object is an Excel object.

Sub FindCreator() 
 Dim myObject As Excel.Workbook 
 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 
End Sub

[!includeSupport and feedback]