PivotTable.VisualTotalsForSets (Excel)
Returns or sets whether to include filtered items in the totals of named sets for the specified PivotTable.
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.
ActiveCell.PivotTable.VisualTotalsForSets = True