I am trying to get a loop function to select ten cells in column C and then paste those selected columns to sheet 4 and paste them horizontally, the problem I am encountering is instead of copying the ten cells in one column it selects one cell in the column and copy's it ten times in sheet 4. I realize this is because of how my code is set, my question is how can I make vba select the the ten cells then paste it on the other sheet and then have vba select the next ten cells in the column? This is what I have:
Code
Sub Transfer()
Dim i, r, LastRow
LastRow = Sheets("sheet1").Range("C" & Rows.Count).End(xlUp).Row
For i = 2 To LastRow
For r = 1 To 10
Sheets("sheet1").Cells(i, "C").Copy Destination:=Sheets("sheet4").Range("A" & Rows.Count).End(xlUp).Offset(i, r)
Next r
Next i
End Sub
Display More
Any tips and or suggestions would be most appreciated, if it is not clear just let me know and I can try to rephrase my question. Thanks