I'm trying to copy 4 pivot row labels data to another sheet called "RSL to Review" one after other pivot row label data. I am able to copy only one pivot data that too whole data and no error after that no loop works.
Sub Macro2()
Dim i As Integer
Dim LR As Integer
For i = 1 To 4
LR = Sheets("pivot").Range("a" & Rows.Count).End(xlUp).Row
' Sheets("RSL to Review").Activate
Sheets("pivot").PivotTables("PivotTable" & i).PivotSelect "", xlLabel,true
Selection.Copy
Sheets("RSL to Review").Activate
Sheets("RSL to Review").Range("b" & LR + 2).Select
ActiveSheet.Paste
Next i
End Sub
Result should be platform (pivot row label)
Region Platform
APJ Barit/Bucci
APJ Cannonball 1.0
APJ EvansDG