So I'm stuck again with this translation:
ActiveSheet.PivotTables("PivotTable1").AddDataField ActiveSheet.PivotTables( _
"PivotTable1").PivotFields("Benefit"), "Sum of Benefit", xlSum
This line goes right after and I have no problem with it,
ActiveSheet.PivotTables("PivotTable1").PivotFields("Sum of Benefit").Caption = _
"Quantity"
But the first one I can't figure out.
Any help is appreciated.
ActiveSheet.PivotTables("PivotTable1").AddDataField ActiveSheet.PivotTables( _
"PivotTable1").PivotFields("Benefit"), "Sum of Benefit", xlSum
This line goes right after and I have no problem with it,
ActiveSheet.PivotTables("PivotTable1").PivotFields("Sum of Benefit").Caption = _
"Quantity"
But the first one I can't figure out.
Any help is appreciated.