PivotCache.MissingItemsLimit Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the maximum quantity of unique items per PivotTable field that are retained even when they have no supporting data in the cache records.
public:
property Microsoft::Office::Interop::Excel::XlPivotTableMissingItems MissingItemsLimit { Microsoft::Office::Interop::Excel::XlPivotTableMissingItems get(); void set(Microsoft::Office::Interop::Excel::XlPivotTableMissingItems value); };
public Microsoft.Office.Interop.Excel.XlPivotTableMissingItems MissingItemsLimit { get; set; }
Public Property MissingItemsLimit As XlPivotTableMissingItems
Property Value
Remarks
XlPivotTableMissingItems can be one of the following XlPivotTableMissingItems constants:
xlMissingItemsDefault The default number of unique items per PivotField allowed.
xlMissingItemsMax The maximum number of unique items per PivotField allowed (32,500).
xlMissingItemsNone No unique items per PivotField allowed (zero).
This property can be set to a value between 0 and 32500. If an integer less than zero is specified, this is equivalent to specifying xlMissingItemsDefault. Integers greater than 32,500 can be specified but will have the same effect as specifying xlMissingItemsMax.
The MissingItemsLimit property only works for non-OLAP PivotTables; otherwise, a run-time error can occur.