Version Information
Version Added: Excel

Syntax

expression.SubtotalLocation(Location)

expression A variable that represents a PivotTable object.

Parameters

Name Required/Optional Data Type Description
Location Required XlSubtototalLocationType xlSubtotalLocationType can be either xlAtTop or xlAtBottom.

Remarks

The SubtotalLocation method sets the LayoutSubtotalLocation property for all existing PivotFields atomically.

See also: