Sub DecompteMN()
With Sheets("travail")
If IsNumeric(.[B9]) Then
If .[B9] > 0 Then
.[e4] = .[B9]
Do While .[e4] > 0
Application.Wait Now + TimeValue("0:0:1")
With .[e4]
.Value = .value - 1
If .Value = 200 Then Beep
If .Value = 400 Then Call arret("Vous êtes de passage à nantes")
End With
Loop
End If
End If
Call arret("Vous êtes arrivé")
End With
End Sub
Sub arret(vocal)
Application.Speech.Speak vocal, 1
End Sub