- Katılım
- 8 Temmuz 2011
- Mesajlar
- 208
- Excel Vers. ve Dili
- TR, Office 2010
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub TextBox2_Change()
Application.ScreenUpdating = False
Application.EnableEvents = False
ActiveSheet.Unprotect ""
On Error Resume Next
NO = TextBox2.Value
Set FC2 = Range("D3:D65000").Find(What:=NO)
Application.Goto Reference:=Range(FC2.Address), _
Scroll:=False
Selection.AutoFilter Field:=4, Criteria1:=TextBox2.Value
If NO = "" Then
Selection.AutoFilter Field:=4
End If
Application.EnableEvents = True
Application.ScreenUpdating = True
ActiveSheet.Protect ""
End Sub
Set FC2 = Range("D3:D65000").Find(What:=METİN[COLOR="Red"][B]1[/B][/COLOR])
Selection.AutoFilter Field:=4, Criteria1:=[COLOR="Red"]"*" &[/COLOR] TextBox2.Value [COLOR="red"]& "*"[/COLOR]
Private Sub TextBox2_Change()
Application.ScreenUpdating = False
Application.EnableEvents = False
ActiveSheet.Unprotect ""
On Error Resume Next
METİN = TextBox2.Text
Set FC2 = Range("D3:D65000").Find(What:=METİN)
Application.Goto Reference:=Range(FC2.Address), _
Scroll:=False
Selection.AutoFilter Field:=4, Criteria1:=METİN
If METİN = "" Then
Selection.AutoFilter Field:=4
End If
Application.EnableEvents = True
Application.ScreenUpdating = True
ActiveSheet.Protect ""
End Sub