PivotItems PivotItems PivotItems Interface


A collection of all the PivotItem objects in a PivotTable field. The items are the individual data entries in a field category.

public interface class PivotItems : System::Collections::IEnumerable
public interface PivotItems : System.Collections.IEnumerable
Public Interface PivotItems
Implements IEnumerable


Use the PivotItems(Object) method to return the PivotItems collection.

Use PivotItems(index), where index is the item index number or name, to return a single PivotItem object.


Application Application Application

Returns an Application object that represents the Microsoft Excel application. Read-only.

Count Count Count

Returns the number of objects in the collection. Read-only Integer.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.

Parent Parent Parent

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


Add(String) Add(String) Add(String)

Creates a new PivotTable item.

GetEnumerator() GetEnumerator() GetEnumerator()
Item(Object) Item(Object) Item(Object)

Returns a single object from a collection.

Applies to