Format Method Example

This example applies the xlReport4 indented format to the fourth PivotTable report on the active worksheet.

ActiveSheet.PivotTables("PivotTable4").Format xlReport4

Send feedback to MSDN.Look here for MSDN Online resources.