Sub Alerte()
Dim c As Range
With Sheets("HPM_ARCHIVES")
For Each c In .Range("AY2", .Range("AY" & .Rows.Count).End(xlUp))
If IsDate(c) Then
If DateSerial(Year(c) - 1, Month(c), Day(c)) <= Date And .Cells(c.Row, "BF") = "" Then
MsgBox "Echéance " & .Cells(c.Row, "B") & " " & c
.Cells(c.Row, "BF") = "X"
End If
End If
Next
End With
End Sub