PivotField.ShowAllItems Property (Excel)

True if all items in the PivotTable report are displayed, even if they don’t contain summary data. The default value is False. Read/write Boolean.

Syntax

expression .ShowAllItems

expression A variable that represents a PivotField object.

Remarks

For OLAP data sources, the value is always False.

Example

This example displays all rows for the Month field in the first PivotTable report on worksheet one, including months for which there’s no data.

Worksheets(1).PivotTables("Pivot1") _ 
 .PivotFields("Month").ShowAllItems = True

See Also

Concepts

PivotField Object

PivotField Object Members