DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, [F2]) Is Nothing Then Exit Sub
ActiveSheet.[A4].AutoFilter
son = Cells(Rows.Count, "A").End(3).Row
If Target = "" Or Target = 0 Then
ActiveSheet.Range("$A$4:$J$" & son).AutoFilter Field:=1
Target.Select
ElseIf IsNumeric(Target) = False Then
MsgBox "Lütfen sayı giriniz!", vbInformation
ActiveSheet.Range("$A$4:$J$" & son).AutoFilter Field:=1
Target.Select
Exit Sub
Else
gun = Date - Target
ActiveSheet.Range("$A$4:$J$" & son).AutoFilter Field:=1, Criteria1:= _
">" & gun * 1, Operator:=xlAnd, Criteria2:="<=" & Date * 1
Target.Select
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, [F2]) Is Nothing Then Exit Sub
ActiveSheet.[A4].AutoFilter
son = Cells(Rows.Count, "A").End(3).Row
If Target = "" Or Target = 0 Then
ActiveSheet.Range("$A$4:$J$" & son).AutoFilter Field:=1
Target.Select
ElseIf IsNumeric(Target) = False Then
MsgBox "Lütfen sayı giriniz!", vbInformation
ActiveSheet.Range("$A$4:$J$" & son).AutoFilter Field:=1
Target.Select
Exit Sub
Else
gun = Date - Target + 1
[J1] = gun
ActiveSheet.Range("$A$4:$J$" & son).AutoFilter Field:=1, Criteria1:= _
"<" & gun * 1, Operator:=xlAnd
Target.Select
End If
End Sub