I have mention code and it creates pivot table, but concern is it gives error as 1004, I am using excel 2016. Any Idea.
Code:-
Private Sub CommandButton1_Click()
'Sheets("AG1 Node Down").Select
Dim Pt As PivotTable
Dim PtCache As PivotCache
Dim pageField1 As String
Dim pageField2 As String
Dim...