共用方式為


PivotTable.VisualTotalsForSets Property (Excel)

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

Version Information

Version Added: Excel 2010

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.

請參閱

概念

PivotTable Object

PivotTable Object Members