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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.