PivotTable.VisualTotalsForSets property (Excel)

Returns or sets whether to include filtered items in the totals of named sets for the specified PivotTable. Read/write.

Syntax

expression.VisualTotalsForSets

expression A variable that represents a PivotTable object.

Return value

Boolean

Remarks

True if filtered items are included in the totals for named sets; otherwise, False. The default value of this property is False.

In a PivotTable based on an OLAP data source, you can configure whether totals for named sets in the PivotTable will include items that have been filtered.

The setting of the VisualTotalsForSets property corresponds to the Include filtered items in set totals check box on the Totals & Filters tab of the PivotTable Options dialog box.

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.