Hi
I desperately need help. I want my macro to:
select A1:C68 and cut it and paste it on another place and the
select D1:F68 and cut it and paste it on another place etc etc
Please help!
I desperately need help. I want my macro to:
select A1:C68 and cut it and paste it on another place and the
select D1:F68 and cut it and paste it on another place etc etc
Please help!
Code:
Dim i As Integer
var1col = 1
var2col = 3
var3 = 1
For i = 1 To 100
Windows("Book2").Activate
Range(var1col & "1" & ":" & "68" & var2col).Select
Selection.Cut
Windows("results.xlsx").Activate
Range("E" & var3).Select
ActiveSheet.Paste
var1col = var1col + 3
var2col = var2col + 3
var3 = var3 + 68
Next i