Mình gửi File, các bạn xem giúp, cảm ơn nhiều.
Private Sub cmdThem_Click()
Dim Cel As Range
Set Cel = Sheets("DATA").Range("B65500").End(xlUp).Offset(1)
With Cel
.Value = Me.tbxCongTrinh
.Offset(, 1).Value = Me.tbxDoan
.Offset(, 4).Value = Me.tbxDiaDiem
End With
End Sub
[COLOR=#000000][COLOR=#0000BB]Set Cel [/COLOR][COLOR=#007700]= [/COLOR][COLOR=#0000BB]Sheets[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"DATA"[/COLOR][COLOR=#007700]).[/COLOR][COLOR=#0000BB]Range[/COLOR][COLOR=#007700]([/COLOR][COLOR=#DD0000]"B65500"[/COLOR][COLOR=#007700]).[/COLOR][COLOR=#0000BB]End[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]xlUp[/COLOR][COLOR=#007700]).[/COLOR][COLOR=#0000BB]Offset[/COLOR][COLOR=#007700]([/COLOR][COLOR=#0000BB]1[/COLOR][COLOR=#007700])
Set Cel = Sheets("DATA").Range("B40")