Kod:
Sub üçyıl()
Dim cell As Range
For Each cell In Sayfa1.Range("D2:D" & Sayfa1.Range("D" & Rows.Count).End(xlUp).Row)
If Not IsDate(cell.Value) Then GoTo X:
If IsEmpty(cell.Value) Then GoTo X:
If cell.Value = DateAdd("yyyy", 3, Date) Then
cell.Font.ColorIndex = 3
Else
X:
cell.Interior.ColorIndex = 0
End If
Next cell
End Sub
ben bunu nasıl dakika formatında çalıştırabilirim
