Sub MovenRows()
Application.ScreenUpdating = False
Dim MyLastRow As Long
Dim i, n As Long
' Unique records filter
MyLastRow = Range("A65536").End(xlUp).Row
Range("A1:A" & MyLastRow).AdvancedFilter Action:=xlFilterInPlace, Unique:=True
' Delete hidden (filtered) rows
For i = MyLastRow To 1 Step -1
If Rows(i).Hidden = True Then
Rows(i).EntireRow.Delete
End If
Next i
If Cells(2, 1) = Cells(1, 1) Then Rows(2).EntireRow.Delete
' Enter number of rows per page
n = 37
i = n + 1
Do Until i > Range("A65536").End(xlUp).Row
Range("A" & i & ":A" & i + n - 1).Select
Selection.Cut
Range("IV1").End(xlToLeft).Offset(0, 1).Select
ActiveSheet.Paste
i = i + n
Loop
Application.ScreenUpdating = False
End Sub