Sub NhapLieu()
Application.ScreenUpdating = False
Dim dong As Integer
Dim Rng As Range
dong = Sheets("Data").Cells(Sheets("Data").Rows.Count, "A").End(xlUp).Row
Set Rng = Sheets("Nhap").Range("b4:b11")
With Sheets("Nhap")
If Application.CountA(Rng) <> Rng.Cells.Count Then
MsgBox "Vui long dien day du thong tin !"
Exit Sub
End If
End With
Rng.Copy
Sheets("Data").Range("a" & dong + 1).PasteSpecial (3), Transpose:=True
Application.CutCopyMode = False
Rng.ClearContents
Application.ScreenUpdating = True
End Sub