Yinelenen verilerim var (sütun "c") ve "D" sütunundaki sayıları olan satırı silmek istiyorum. ancak sadece bu kullanarak kod im olan Yinelenen satırların tümünü koşullarla silme ve
resimde görülen, ama ve "D" verilerle satırı silmek nasıl bilmiyorum olarak tek tarihleri ile yinelenenler, için yinelenen
olduğunuSet wS = ThisWorkbook.Sheets("Sheet1")
da sayfanın adının
Sub del_doops()
Dim RowNdx As Long
Dim RowNdx2 As Long
For RowNdx = Range("A1:f1").End(xlDown).Row To 2 Step -1
For RowNdx2 = RowNdx - 1 To 1 Step -1 'Begin at one above RowNdx
If Cells(RowNdx, "b").Value = Cells(RowNdx2, "b").Value And _
Cells(RowNdx, "C").Value = Cells(RowNdx2, "C").Value And _
Cells(RowNdx, "E").Value = Cells(RowNdx2, "E").Value And _
Cells(RowNdx, "F").Value <> Cells(RowNdx2, "F").Value Then
Rows(RowNdx2).Delete 'this is where i need help
End If
Next RowNdx2
Next RowNdx
End Sub
Neden hat 17 (olduğu ikinci grubunuzda 20 Şubat silindi? –
tarihler değişir, ama boşver. mr R3uK bana yardım etti. ama yine de teşekkürler –