Bạn dùng code VBA này nhé. Rất đơn giản:
Sub NhapLieu()
Dim LastRow As Integer
LastRow = Sheets("DULIEU").Range("A" & Rows.Count).End(xlUp).Row + 1
Sheets("DULIEU").Cells(LastRow, 2) = Sheets("NHAPLIEU").Range("B2").Value
Sheets("DULIEU").Cells(LastRow, 3) = Sheets("NHAPLIEU").Range("B3").Value
Sheets("DULIEU").Cells(LastRow, 4) = Sheets("NHAPLIEU").Range("B4").Value
Sheets("DULIEU").Cells(LastRow, 5) = Sheets("NHAPLIEU").Range("B5").Value
Sheets("DULIEU").Cells(LastRow, 6) = Sheets("NHAPLIEU").Range("B6").Value
Sheets("DULIEU").Cells(LastRow, 7) = Sheets("NHAPLIEU").Range("B7").Value
Sheets("DULIEU").Cells(LastRow, 8) = Sheets("NHAPLIEU").Range("B8").Value
Sheets("DULIEU").Cells(LastRow, 9) = Sheets("NHAPLIEU").Range("B9").Value
Sheets("DULIEU").Cells(LastRow, 10) = Sheets("NHAPLIEU").Range("B10").Value
Sheets("DULIEU").Cells(LastRow, 11) = Sheets("NHAPLIEU").Range("B11").Value
Sheets("DULIEU").Cells(LastRow, 12) = Sheets("NHAPLIEU").Range("B12").Value
End Sub
còn vấn đề ko cho nhập và chỉnh sửa sheet DULIEU thì bạn chỉ cần protect sheet đó là đc.