Sub Worksheet_Change(ByVal T As Range)
If T.Count > 1 Then Exit Sub
If Not Intersect(T, [AE5]) Is Nothing Then
If T <> 6 And T <> 9 And T <> 12 Then
If MsgBox("Si vous changez la durée d'utilisation, le montant sera réinitialisé ! ", vbYesNo + vbQuestion) = vbYes Then
Application.EnableEvents = False
[AS17] = 0
Application.EnableEvents = True
Columns("AT").EntireColumn.Hidden = True
Else
Application.EnableEvents = False
Application.Undo
Application.EnableEvents = True
Columns("AT").EntireColumn.Hidden = False
End If
End If
End If
End Sub