in reply to Re^4: WIN32::OLE Excel Pivot Table Grief
in thread WIN32::OLE Excel Pivot Table Grief

use
$_app_object->ActiveSheet->PivotTables('PivotTable1')->PivotFields('a' +)->SetProperty( "Subtotals", 1, 0 );

Replies are listed 'Best First'.
Re^6: WIN32::OLE Excel Pivot Table Grief
by Anonymous Monk on Apr 05, 2009 at 04:07 UTC
    Cool! That answer was worth waiting for. It works! Many Thanks!!!
Re^6: WIN32::OLE Excel Pivot Table Grief
by Anonymous Monk on May 13, 2016 at 02:01 UTC
    Thank you very much. I was stuck on this "subtotals" for a day but your code did the trick Thank you.