Still slightly curious as your prior post would imply at least one Row Label field (player) but based on your request perhaps something along the lines of:
Public Sub PTDATAFIELDS()
Dim PT As PivotTable, lngField As Long
Application.ScreenUpdating = False
Set PT = Sheets("Sheet2").PivotTables("PivotTable1")
With PT
For lngField = 1 To .PivotFields.Count Step 1
.AddDataField(.PivotFields(lngField)).Function = xlSum
Next lngField
End With
Set PT = Nothing
Application.ScreenUpdating = True
End Sub
Change that in red to reflect your actual setup - sheet name / PT name etc...
Bookmarks