Sub Main()Application.OnTime DateValue("12/31/2007 5:00 pm"), "DisplayAlarm"End SubSub DisplayAlarm() Beep MsgBox "Wake up. It's time for your afternoon break!"End Sub