- Katılım
- 5 Nisan 2008
- Mesajlar
- 359
- Excel Vers. ve Dili
- Office 365
Sub listele()
For a = 3 To [b65536].End(3).Row
eski = Cells(a, "b")
yeni = Cells(a, "e")
If WorksheetFunction.CountIf([e:e], eski) = 0 Then Cells(a, "b").Interior.ColorIndex = 6
If WorksheetFunction.CountIf([b:b], yeni) = 0 Then Cells(a, "e").Interior.ColorIndex = 38
Next
End Sub
Selam,liste makrosunun son iki satırını silmek yeterli olacak,
Kod:Sub listele() For a = 3 To [b65536].End(3).Row eski = Cells(a, "b") yeni = Cells(a, "e") If WorksheetFunction.CountIf([e:e], eski) = 0 Then Cells(a, "b").Interior.ColorIndex = 6 If WorksheetFunction.CountIf([b:b], yeni) = 0 Then Cells(a, "e").Interior.ColorIndex = 38 Next End Sub
iyi çalışmalar.