DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Option Explicit
Sub şartlı()
Dim BUL As Range, SBT As Variant, STR As Long
Application.ScreenUpdating = False
For STR = 2 To Cells(Rows.Count, "A").End(xlUp).Row
If Cells(STR, "D") = "Z" Then
Set BUL = Range("B:B").Find(Cells(STR, "B"), , , xlWhole)
If Not BUL Is Nothing Then
SBT = BUL.Address
Do
Cells(BUL.Row, "D") = "Z"
Set BUL = Range("B:B").FindNext(BUL)
Loop While Not BUL Is Nothing And BUL.Address <> SBT
End If: End If: Next
Application.ScreenUpdating = True
End Sub
Hocam çok teşekkür ederim, uzunca ve her gün yenilenen bir liste de işimi kolaylaştıracak bir çözüm oldu.
Sağolun