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, Range("A1:E1")) Is Nothing Then Exit Sub
Call askm
End Sub
Sub askm()
Dim s1 As Worksheet
Dim s2 As Worksheet
Set s1 = Sheets("LİSTE")
Set s2 = Sheets("MÜDÜRLÜK")
Dim son As Long
Application.ScreenUpdating = False
s2.Range("A3:E65536").Clear
son = s1.Range("A" & Rows.Count).End(3).Row
Kriter = s2.Range("A1").Value
s1.Range("$A$1:$F$" & son).AutoFilter Field:=1, Criteria1:=Kriter
s1.Range("B2:F" & son).SpecialCells(xlCellTypeVisible).Copy _
Destination:=s2.Range("A3")
Application.ScreenUpdating = True
End Sub