Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1016 Bytes

Excel.PivotTable.SubtotalHiddenPageItems.md

File metadata and controls

42 lines (24 loc) · 1016 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
PivotTable.SubtotalHiddenPageItems property (Excel)
vbaxl10.chm235118
vbaxl10.chm235118
Excel.PivotTable.SubtotalHiddenPageItems
bb3c7e54-1894-a1b6-e2d0-cf6097bd4875
05/09/2019
medium

PivotTable.SubtotalHiddenPageItems property (Excel)

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.

Worksheets(1).PivotTables("Pivot1").SubtotalHiddenPageItems = True

[!includeSupport and feedback]