title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
SlicerCache.ShowAllItems property (Excel) |
vbaxl10.chm897088 |
|
|
72622510-b644-db1b-2905-4eaba53b0ecb |
05/16/2019 |
medium |
Returns or sets whether slicers connected to the specified slicer cache display items that have been deleted from the corresponding PivotCache. Read/write.
expression.ShowAllItems
expression A variable that represents a SlicerCache object.
Boolean
When the ShowAllItems property is set to True (the default), items that have been deleted from the source data are displayed in the slicers connected to the specified slicer cache. The ShowAllItems property corresponds to the setting of the Show items deleted from the data source check box in the Slicer Settings dialog box.
The ShowAllItems property applies only to slicers that are based on workbook ranges or lists (SlicerCache.SourceType = xlDatabase), or to slicers that are based on relational data sources (SlicerCache.SourceType = xlExternal and SlicerCache.OLAP = False).
Attempting to set the ShowAllItems property for slicers that are connected to PivotTables based on external OLAP data sources (SlicerCache.OLAP = True) generates a run-time error.
[!includeSupport and feedback]