PivotTable.VisualTotalsForSets Property

Gets or sets whether to include filtered items in the totals of named sets for the specified PivotTable.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property VisualTotalsForSets As Boolean
    Get
    Set
'Usage
Dim instance As PivotTable
Dim value As Boolean

value = instance.VisualTotalsForSets

instance.VisualTotalsForSets = value
bool VisualTotalsForSets { get; set; }

Property Value

Type: System.Boolean
true if filtered items in the totals of named sets for the specified PivotTable are included; otherwise, false. The default is false

Remarks

Read/write.

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.

See Also

Reference

PivotTable Interface

PivotTable Members

Microsoft.Office.Interop.Excel Namespace