I'm using the below to add data from a holding sheet(sheet2) to sheet1.The first record moves as planned. I need to run through all the records in sheet2 (not always the same number of rows) to sheet1.
I've failed miserably with every "loop" "For...Next" etc. I've tried. I've only been able to move the first record in sheet2 to sheet1
_____________________________________
Sub movedata()
erow = Sheet1.Cells(Rows.Count, 2).End(xlUp).Offset(1, 0).row
Cells(erow, 2) = Worksheets("Sheet2").Range("b1")
Cells(erow, 3) = Worksheets("Sheet2").Range("c1")
. .
End sub
_______________________________________________
Any help would be appreciated. Thanks
I've failed miserably with every "loop" "For...Next" etc. I've tried. I've only been able to move the first record in sheet2 to sheet1
_____________________________________
Sub movedata()
erow = Sheet1.Cells(Rows.Count, 2).End(xlUp).Offset(1, 0).row
Cells(erow, 2) = Worksheets("Sheet2").Range("b1")
Cells(erow, 3) = Worksheets("Sheet2").Range("c1")
. .
End sub
_______________________________________________
Any help would be appreciated. Thanks