PivotCell Members (Excel)

Represents a cell in a PivotTable report.

Methods

Name

Description

AllocateChange

Performs a writeback operation on the specified cell in a PivotTable report based on an OLAP data source.

DiscardChange

Discards changes to the specified cell in a PivotTable report.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

CellChanged

Returns whether a PivotTable value cell has been edited or recalculated since the PivotTable report was created or the last commit operation was performed. Read-only

ColumnItems

Returns a PivotItemList collection that corresponds to the items on the column axis that represent the selected range.

Creator

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

CustomSubtotalFunction

Returns the custom subtotal function field setting of a PivotCell object. Read-only XlConsolidationFunction.

DataField

Returns a PivotField object that corresponds to the selected data field.

DataSourceValue

Returns the value last retrieved from the data source for edited cells in a PivotTable report. Read-only

MDX

Returns a tuple that provides the full MDX coordinates of the specified value cell in PivotTable with an OLAP data source. Read-only

Parent

Returns the parent object for the specified object. Read-only.

PivotCellType

Returns one of the XlPivotCellType constants that identifies the PivotTable entity the cell corresponds to. Read-only.

PivotColumnLine

Returns the PivotLine on a column for a specific PivotCell object. Read-only PivotLine.

PivotField

Returns a PivotField object that represents the PivotTable field containing the upper-left corner of the specified range.

PivotItem

Returns a PivotItem object that represents the PivotTable item containing the upper-left corner of the specified range.

PivotRowLine

Returns the PivotLine on a row for a specific PivotCell object. Read-only PivotLine.

PivotTable

Returns a PivotTable object that represents the PivotTable report associated with the PivotCell.

Range

Returns a Range object that represents the range the specified PivotCell applies to.

RowItems

Returns a PivotItemList collection that corresponds to the items on the category axis that represent the selected cell.