E
ExcelMonkey
I am trying to program an alarm like this:
Sub SetAlarm()
Application.OnTime TimeValue("12:12:00 pm"), "DisplayAlarm"
End Sub
Sub DisplayAlarm()
Beep
MsgBox "Wake up. Its time for your afternoon break!"
End Sub
However it never seems to go off. I have put in a regular module.
What have I done wrong?
Thank-yo
Sub SetAlarm()
Application.OnTime TimeValue("12:12:00 pm"), "DisplayAlarm"
End Sub
Sub DisplayAlarm()
Beep
MsgBox "Wake up. Its time for your afternoon break!"
End Sub
However it never seems to go off. I have put in a regular module.
What have I done wrong?
Thank-yo