Private Sub TextBox1_Change()
On Error Resume Next
METİN1 = TextBox1.Value
Set FC2 = Range("B:B").Find(What:=METİN)
Application.GoTo Reference:=Range(FC2.Address), Scroll:=False
Selection.AutoFilter Field:=2, Criteria1:="*" & TextBox1.Value & "*"
If METİN1 = "" Then
Selection.AutoFilter Field:=2
End If
End Sub
B:B sütününa yazdığım isim örnek: mehmet toker yazınca hata veriyor mehmettoker yazınca hata vermiyor.yani boşluk olunca hata veriyor...hayırlı ramazanlar..
not:kod bilgim yok hazır sayfaları alıp onları düzenlemeye çalışıyorum
On Error Resume Next
METİN1 = TextBox1.Value
Set FC2 = Range("B:B").Find(What:=METİN)
Application.GoTo Reference:=Range(FC2.Address), Scroll:=False
Selection.AutoFilter Field:=2, Criteria1:="*" & TextBox1.Value & "*"
If METİN1 = "" Then
Selection.AutoFilter Field:=2
End If
End Sub
B:B sütününa yazdığım isim örnek: mehmet toker yazınca hata veriyor mehmettoker yazınca hata vermiyor.yani boşluk olunca hata veriyor...hayırlı ramazanlar..
not:kod bilgim yok hazır sayfaları alıp onları düzenlemeye çalışıyorum
