Private Sub ComboBox1_Change()
Dim rw&, i&, str(), Cot()
str = Array("hovaten", "chucvu", "namsinh", "tuoi", "trinhdovanhoa", _
"trinhdochuyenmon", "dangdoan", "tncongtactaicang", "hesoluong", "tnnangluong", _
"thangbangbacluong", "matncn", "tnbonhiem", "hotencha", "hotenme", "hotenvochong", _
"socon", "nguyenquan", "noisinh", "thuongtru", "cmnd", "ngoaingu", "tinhoc", _
"solaodong", "sobhxh", "nguoiphuthuoc", "taikhoan", "dienthoai")
Cot = Array(0, 3, 5, 7, 8, 9, 12, 14, 15, 16, 19, 21, 24, 28, 29, _
30, 31, 32, 33, 36, 40, 41, 42, 44, 45, 46, 51, 52)
With Worksheets("BANGTONGHOP")
rw = WorksheetFunction.Match(Me.ComboBox1.Value, .Range("D:D"), 0)
For i = 0 To UBound(str)
Me.Controls(str(i)).Value = .Cells(rw, 4).Offset(, Cot(i)).Value
Next
End With
End Sub