PivotTable.SubtotalLocation-Methode (Excel)

Diese Methode ändert den Teilergebnisspeicherort für alle vorhandenen PivotFields. Das Ändern des Teilergebnisspeicherorts hat nur für Felder im Gliederungsformat eine sofortige visuelle Auswirkung, es wird jedoch auch für Felder im Tabellenformat festgelegt.

Syntax

Ausdruck. SubtotalLocation (Standort)

Ausdruck Eine Variable, die ein PivotTable-Objekt darstellt.

Parameter

Name Erforderlich/Optional Datentyp Beschreibung
Location Erforderlich XlSubtotalLocationType XlSubtotalLocationType kann entweder xlAtTop oder xlAtBottom sein.

HinwBemerkungeneise

Die SubtotalLocation-Methode legt die LayoutSubtotalLocation-Eigenschaft für alle vorhandenen PivotFields automatisch fest.

Support und Feedback

Haben Sie Fragen oder Feedback zu Office VBA oder zu dieser Dokumentation? Unter Office VBA-Support und Feedback finden Sie Hilfestellung zu den Möglichkeiten, wie Sie Support erhalten und Feedback abgeben können.