Shipbells On Time Function

A

ADE2

Hi
I would like to make play an audible alert on every half hour to remin
me that i need to look at the latest values in my spreadsheet.
So i would like alerts at ...18:30,19:00,19:30 etc.(24 hours a day)

I have heard of something called the Shipbells function but don't kno
how to write the code.

I already use the following code at the end of a Macro to test certai
conditions,this emits a beep,so an alternative sound would be best.

If the two alerts were activated at the same time would this cause
problem,which sound would get played?





If Range("M2").Value > Range("M7").Value And Range("M7") > "" Then

xcount = 1
For xcount = 1 To 5
Beep
newHour = Hour(Now())
newMinute = Minute(Now())
newSecond = Second(Now()) + 1
waitTime = TimeSerial(newHour, newMinute, newSecond)
Application.Wait waitTime
Next

End If


End Sub

Thanks for all your help

Ad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top