PivotTable.Format(XlPivotFormatType) Method

Definition

Sets a PivotTable report to one of the predefined indented, nonindented, or cross-tabulated formats.

public:
 void Format(Microsoft::Office::Interop::Excel::XlPivotFormatType Format);
public void Format (Microsoft.Office.Interop.Excel.XlPivotFormatType Format);
Public Sub Format (Format As XlPivotFormatType)

Parameters

Format
XlPivotFormatType

Required XlPivotFormatType. Specifies the type of report formatting to be applied to the specified PivotTable report.

Applies to