Hi All.
I was wondering how to paste some selected data that I copied from Sheet1 onto Sheet2 in the same workbook on the next cell that is blank.
So far, I have the following codes:
Sub Step4()
Sheets("Sheet1").Select
Range("B1:L34").Select
Selection.Copy
Sheets("Sheet2").Select
Range("B" & Rows.Count).End(xlUp).Offset (1) To look for the first empty cell in column B
ActiveSheet.Paste
Range("A1").Select
End Sub
I know something is wrong in the searching for the first empty cell and pasting the copied data, but I'm not sure how to fix it.
Thank you in advance.
I was wondering how to paste some selected data that I copied from Sheet1 onto Sheet2 in the same workbook on the next cell that is blank.
So far, I have the following codes:
Sub Step4()
Sheets("Sheet1").Select
Range("B1:L34").Select
Selection.Copy
Sheets("Sheet2").Select
Range("B" & Rows.Count).End(xlUp).Offset (1) To look for the first empty cell in column B
ActiveSheet.Paste
Range("A1").Select
End Sub
I know something is wrong in the searching for the first empty cell and pasting the copied data, but I'm not sure how to fix it.
Thank you in advance.