PivotTable.SubtotalLocation(XlSubtototalLocationType) Methode

Definition

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.

public:
 void SubtotalLocation(Microsoft::Office::Interop::Excel::XlSubtototalLocationType Location);
public void SubtotalLocation (Microsoft.Office.Interop.Excel.XlSubtototalLocationType Location);
Public Sub SubtotalLocation (Location As XlSubtototalLocationType)

Parameter

Location
XlSubtototalLocationType

Erforderlich XlSubtototalLocationType kann entweder xlAtTop oder xlAtBottom sein.

Hinweise

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

Gilt für: