Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Reminder or Buzz in excel sheets

Can i put a reminder or Buzz to my excel worksheets to pop up later on so
that i am reminded for my work done to carry forward my work in excel sheets?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Reminder or Buzz in excel sheets

He is something I use to do exactly that - I'm so absent minded!
Assign 'TellMe' to a custom button so it is available whenever :)


Sub TellMe()
Dim x As Double
Static G As Integer
Static Str As String
G = G + 1
If G = 1 Then
Str = Application.InputBox("What is the Event?", Type:=2)
x = Application.InputBox("How much waiting time, " _
& "in minutes please?", Type:=1)
Application.OnTime Now + x / 1440, "TellMe"
Else
GoneIn2Sec
MsgBox Str
G = 0
End If
End Sub

'and this one is called by the other..

Sub GoneIn2Sec()
Dim t As Double, Rng As Range
Dim tt As Double
Set Rng = ActiveCell
Application.EnableCancelKey = xlErrorHandler
On Error GoTo end1
If [b1] = "" Or Not IsNumeric([b1]) Then
tt = Timer + 30
Else
tt = Timer + [b1].Value
End If
With Rng
Do While Timer < tt
If .Interior.ColorIndex < 3 Then
.Interior.ColorIndex = 3
.Font.Bold = True
Beep
Else
.Interior.ColorIndex = Int(Rnd() * 56 + 1)
.Font.Bold = False
End If
'the 0.16 lets one blink faster than a second
t = Timer + 0.16
Do While Timer < t
DoEvents
Loop
Loop
End With
end1:
End Sub

B1 will flash for 30 seconds and a Msgbox will appear, adjust to suit.


Regards
Robert McCurdy
"Parvez" wrote in message ...
Can i put a reminder or Buzz to my excel worksheets to pop up later on so
that i am reminded for my work done to carry forward my work in excel sheets?

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
reminder in excel S4U Excel Discussion (Misc queries) 0 May 27th 10 11:50 PM
Reminder in Excel? Gary Excel Worksheet Functions 2 September 27th 06 10:26 PM
Reminder in excel Gary Excel Programming 2 September 27th 06 07:59 PM
Reminder in excel horseman Excel Discussion (Misc queries) 2 July 5th 06 01:49 PM
Reminder in Excel 97 xswoosh Excel Programming 6 November 25th 03 10:53 PM


All times are GMT +1. The time now is 12:57 PM.

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

About Us

"It's about Microsoft Excel"