Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I would like to set an audible alarm in Excel based on a cell value.
|
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this in the worksheet VBA editor. If the value of A5 is greater than 50
you get a beep. Private Sub Worksheet_Change(ByVal Target As Range) Dim frequency As Long Dim duration As Long If Target < Range("A5") Then Exit Sub If Target.Value 50 Then frequency = 4160 duration = 1500 Call Beep(frequency, duration) End If End Sub HTH Regards, Howard "Annell" wrote in message ... I would like to set an audible alarm in Excel based on a cell value. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Annell
This little macro will cause a beeping sound (one beep) if C5 is greater than 5. Right-click your sheet tab and select View Code. Paste this macro into that module. "X" out of the module to return to your sheet. HTH Otto Private Sub Worksheet_Change(ByVal Target As Range) If Target.Count 1 Then Exit Sub If Not Intersect(Target, Range("C5")) Is Nothing Then _ If Target 5 Then Beep End Sub "Annell" wrote in message ... I would like to set an audible alarm in Excel based on a cell value. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting a reminder or alarm in Excel | Excel Discussion (Misc queries) | |||
How to set an alarm in excel... | Excel Discussion (Misc queries) | |||
How can I set an alarm in Microsoft Excel | Excel Discussion (Misc queries) | |||
can I set a date alarm in Excel | Excel Discussion (Misc queries) | |||
How can a set an alarm in Excel? | Excel Discussion (Misc queries) |