Sub Alerte_A_Mail_Hibou()
[A1] = CDate(DateSerial(2020, 10, 10)) 'juste pour test
If Date - [A1] >= 30 Then
With CreateObject("Outlook.Application").CreateItem(0)
mBody = "<html><body>Bonjour, <br><br>" & vbNewLine
mBody = mBody & "Ceci est une <b><span style='color:red'>ALERTE ROUGE</span></b><br><br>"
mBody = mBody & "Veuillez consulter <a href=""https://www.404-error.com/"">l'annuaire</a></p>"
mBody = mBody & "</body></html>"
.Subject = "Achtung, Baby!"
.To = "toto@domain.fr"
.HTMLBody = mBody
.Display
'.Send
End With
End If
End Sub