Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim lr As Long
Dim Ma_khach_hang As String
Application.ScreenUpdating = False
lr = Range("A" & Rows.Count).End(xlUp).Row
If Not Intersect(Target, Range("A4:A" & lr)) Is Nothing Then
Ma_khach_hang = Target.Value
With Sheets("DLCT")
.Select
If .AutoFilterMode = True Then .AutoFilterMode = False
lr = .Range("A" & Rows.Count).End(xlUp).Row
.Range("A4:X" & lr).AutoFilter Field:=1, Criteria1:=Ma_khach_hang
End With
End If
Application.ScreenUpdating = True
End Sub