I'm trying to create a for loop that looks the first row in my data source (row 3) and then it pastes that in a new reference sheet, but then I want the loop to paste the same data again just below it. So row's 3 and 4 in the reference sheet will be identical. Then I want it to look at row 4 in my data source and do the same thing, i.e. paste the data into row's 5 and 6 in the reference sheet.
This is my code so far - right now it only pastes row 3 once because my range is fixed. How do I fix this to make it paste one more time and then look at the next row in the data source?
RowCount = Dump.Cells(Rows.count, 1).End(xlUp).row
RefRow = ref.Cells(Rows.count, 1).End(xlUp).row
With ThisWorkbook
With Dump
For i = 1 To RowCount
.Range("A3:AO3").Copy Destination:=ref.Range("A3")
.Range("A3:AO3").Copy Destination:=ref.Range("A" & RefRow)
RefRow = RefRow + 1
row = row + 1
Next i
End With
End With
OffSet. You can then get row count in yourFORloop and use it to paste the values in last row and the one after that