Sub in_bophan()
Dim dongBD As Long
Dim dongKT As Long
dongBD = 3
dongKT = Sheets("Data_NhanSu").Range("B" & Rows.Count).End(xlUp).Row
Dim i As Long
For i = dongBD To dongKT
If Sheets("Data_NhanSu").Range("U" & i).Value = Sheets("Data_NhanSu").Range("O2").Value Then
Sheets("HDLD").Range("O3").Value = Sheets("Data_NhanSu").Range("Q" & i).Value
Sheets("HDLD").PrintOut
'Sheets("HDLD").Activate
End If
Next i
End Sub
Chào bạn bạn đẩy file lên nhé.