DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub AraYaz()
Dim sat As Long, c As Range, Adr As String
Application.ScreenUpdating = False
Sheets("Sayfa1").Select
Range("B4:C" & Rows.Count).ClearContents
sat = 4
With Sheets("Sayfa2")
Set c = .[[COLOR=red]F:G[/COLOR]].Find(Range("B2"), , xlValues, xlWhole)
If Not c Is Nothing Then
Adr = c.Address
Do
If .Cells(c.Row, "G") = Range("C2") Then
Cells(sat, "B") = .Cells(c.Row, "H")
Cells(sat, "C") = .Cells(c.Row, "I")
sat = sat + 1
End If
Set c = .[[COLOR=red]F:G[/COLOR]].FindNext(c)
Loop While Not c Is Nothing And c.Address <> Adr
End If
End With
Application.ScreenUpdating = True
End Sub