Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How can I set an alarm in Microsoft Excel

Have prepared a time-schedule table in Excel, and I'd like an Alarm to pop
up, as per this time-schedule
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 468
Default How can I set an alarm in Microsoft Excel

Paste this code into a standard module; It's a start for you.
HTH,
JMay

Dim MyMessage

Sub SetAlarm()
Dim temptime As String
Dim rtime As Date
temptime = InputBox("What Time should I Beep at you?")
MyMessage = InputBox("Enter short message")
rtime = TimeValue(temptime)
Application.OnTime rtime, "MBox"
End Sub

Private Sub MBox()
snz = MsgBox("This is your alarm " & vbNewLine & vbNewLine & _
MyMessage & vbNewLine & vbNewLine & " Do you wish to" & _
vbNewLine & "Extend the Alarm time?", vbYesNo)
If snz = vbYes Then tReset = InputBox("Enter new time")
If snz = vbYes Then nrtime = TimeValue(tReset)
Application.OnTime nrtime, "MBox"
If snz = vbNo Then Exit Sub
End Sub

"Binoj" wrote:

Have prepared a time-schedule table in Excel, and I'd like an Alarm to pop
up, as per this time-schedule

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting a reminder or alarm in Excel wysi Excel Discussion (Misc queries) 3 May 4th 23 11:43 AM
how to format alarm in excel cell Surjit Excel Discussion (Misc queries) 0 March 28th 07 02:34 PM
can I set a date alarm in Excel apache_sim Excel Discussion (Misc queries) 1 December 20th 06 04:16 PM
alarm a date in excel to outlook calendar gcarch Excel Discussion (Misc queries) 2 August 28th 06 03:39 PM
How can a set an alarm in Excel? Laura Excel Discussion (Misc queries) 0 February 16th 05 10:27 PM


All times are GMT +1. The time now is 10:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"