Hocam merhaba.Kodlar aşağıda
Kod:Sub teke_indir() Dim i As Long Sheets("Sayfa1").Select For i = Cells(65536, "B").End(xlUp).Row To 5 Step -1 If WorksheetFunction.CountIf(Range("B" & i & ":B4"), Cells(i, "B").Value) > 1 Then Range("B" & i).EntireRow.Delete (xlUp) End If Next i MsgBox "Mükerrer kayıtlar silinmiştir." End Sub
Bu kod sorunsuz çalışmakta fakat, mükerrer kayıt aramasını iki sütunu baz alarak yapmak istiyorum. Mesela C ve F sütunu aynı olan satırlar silinsin istiyorum, nasıl yapabiliriz?