Trong bảng dò của bạn có cả đống BV , vlookup sẽ tìm chánh xác mã BV đầu tiên mà nó gặp. Sử lại bảng dò _ DM khachhang_ đi bạnDear các Bác mình có file Excel, dùng combobox và một số hàm tham chiếu nhưng nó không chạy đúng hoàn toàn, các bác xem file đính kèm.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Column = 1 Then
Cancel = True
With Target
[B][COLOR=Red]ComboBox1 = .Value[/COLOR][/B]
ComboBox1.Top = .Top
ComboBox1.Left = .Left
ComboBox1.Width = .Width
ComboBox1.Height = .Height
ComboBox1.Visible = True
[B][COLOR=Red]ComboBox1.DropDown[/COLOR][/B]
End With
End If
End Sub