phanthinh1971
Thành viên mới
- Tham gia
- 9/2/07
- Bài viết
- 24
- Được thích
- 1
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$F$9" Then
Range("$B$10:$D$13").AutoFilter Field:=1, Criteria1:=Target.Value
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$F$9" Then
Range("$B$10:$D$18").AutoFilter
Range("$B$10:$D$18").AutoFilter Field:=1, Criteria1:=Target.Value
End If
If Target.Address = "$G$9" Then
Range("$B$10:$D$18").AutoFilter
Range("$B$10:$D$18").AutoFilter Field:=3, Criteria1:=Target.Value
End If
End Sub