True if hidden page field items in the PivotTable report are included in row and column subtotals, block totals, and grand totals. The default value is False. Read/write Boolean.

Syntax

expression.SubtotalHiddenPageItems

expression A variable that represents a PivotTable object.

Remarks

For OLAP data sources, the value is always True.

Example

This example sets the first PivotTable report on worksheet one to exclude hidden page field items in subtotals.

Visual Basic for Applications
Worksheets(1).PivotTables("Pivot1").SubtotalHiddenPageItems = True
exclude hidden items grand total include hidden page items pivot table subtotal set pivot table include hidden page field items in block total Subtotal subtotal hidden page items Subtotal Hidden Page Items Property subtotalhidden subtotalhiddenpage SubtotalHiddenPageItems subtotalhiddenpageitems property

See also: