NADİR YILDIZ
Altın Üye
- Katılım
- 7 Ocak 2006
- Mesajlar
- 1,418
- Excel Vers. ve Dili
- 2016 Türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub TextBox1_Change()
Dim Aranan As String, Bul As Range
Aranan = TextBox1.Value
Set Bul = Range("D5:D" & Rows.Count).Find(What:=Aranan)
If Not Bul Is Nothing Then
Application.Goto Reference:=Range(Bul.Address), Scroll:=False
Selection.AutoFilter Field:=3, Criteria1:="*" & Aranan & "*"
End If
If Aranan = "" Then Selection.AutoFilter Field:=3
End Sub
Private Sub TextBox2_Change()
Dim Aranan As String, Bul As Range
Aranan = TextBox2.Value
Set Bul = Range("C5:C" & Rows.Count).Find(What:=Aranan)
If Not Bul Is Nothing Then
Application.Goto Reference:=Range(Bul.Address), Scroll:=False
Selection.AutoFilter Field:=2, Criteria1:="*" & Aranan & "*"
End If
If Aranan = "" Then Selection.AutoFilter Field:=2
End Sub