[]
Represents the memory cache for a PivotTable report.
public interface IPivotCache
Returns the index number of the object within the collection of similar objects.
int Index { get; }
Returns the number of records in the PivotTable cache or the number of cache records that contain the specified item.
int RecordCount { get; }
Returns the date on which the PivotTable cache was last refreshed.
DateTime RefreshDate { get; }
Returns the name of the person who last refreshed the PivotTable cache.
string RefreshName { get; }
Gets or sets the data source for the PivotTable report.
IRange SourceData { get; set; }
Creates a PivotTable report based on a PivotCache object.
IPivotTable CreatePivotTable(IRange TableDestination, string TableName = null)
TableDestination
IRangeThe cell in the upper-left corner of the PivotTable report’s destination range (the range on the worksheet where the resulting PivotTable report will be placed). The destination range must be on a worksheet in the workbook that contains the PivotCache object specified by expression.
TableName
stringThe name of the new PivotTable report.
Updates the cache of the PivotTable object.
void Refresh()