Private Sub Sua_du_lieu_Click()
Dim a As Long
Sheets(1).Range("B1") = TextBox1.Text
With Sheets1
a = Range("B10:B1000").Find(Cells(1, "B").Value).Row
Cells(a, "D").Select
Selection = TextBox3.Text
Cells(a, "E").Select
Selection = TextBox4.Text
Cells(a, "F").Select
Selection = TextBox5.Text
Cells(a, "G").Select
Selection = TextBox6.Text
Cells(a, "H").Select
Selection = TextBox7.Text
End With
End Sub
mình có code này nhập để sửa dữ liệu tìm theo cột B nhưng khi thay đổi giá trị thì chỉ có cột D là thay đổi còn các cột khác không nhập được. giúp mình với.