Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default FUCNTION THAT SOUND AUDIO ALARM WHEN SPECIFIC VALUE FOUND

I need my PC to give an audio sound when a specific value in a nominated cell
is attained. For example if cell A1 = or greater than 2000 an ausio sound
will occur.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default FUCNTION THAT SOUND AUDIO ALARM WHEN SPECIFIC VALUE FOUND

Is the value established by a formula or via data entry??
--
Gary''s Student - gsnu200843


"Roger Excellent" wrote:

I need my PC to give an audio sound when a specific value in a nominated cell
is attained. For example if cell A1 = or greater than 2000 an ausio sound
will occur.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default FUCNTION THAT SOUND AUDIO ALARM WHEN SPECIFIC VALUE FOUND

The value comes from data entry, but data entry is not keyed in through the
keyboard it comes from a feed external to Excel (i.e. another program
collects data from a TCP port via a broadband connection).

"Gary''s Student" wrote:

Is the value established by a formula or via data entry??
--
Gary''s Student - gsnu200843


"Roger Excellent" wrote:

I need my PC to give an audio sound when a specific value in a nominated cell
is attained. For example if cell A1 = or greater than 2000 an ausio sound
will occur.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default FUCNTION THAT SOUND AUDIO ALARM WHEN SPECIFIC VALUE FOUND

Let's link some other cell to A1 to cuase a calculation to occur whenever A1
is updated. So in some un-used cell, enter:

=A1

Then install this event macro in the worksheet code area:

Private Sub Worksheet_Calculate()
If Range("A1").Value 1999 Then
msg = "Danger Will Robinson Danger"
Application.Speech.Speak msg
End If
End Sub

Because it is worksheet code, it is very easy to install and use:

1. right-click the tab name near the bottom of the window
2. select View Code - this brings up a VBE window
3. paste the stuff in and close the VBE window

If you save the workbook, the macro will be saved with it.

To remove the macro:

1. bring up the VBE windows as above
2. clear the code out
3. close the VBE window

To learn more about macros in general, see:

http://www.mvps.org/dmcritchie/excel/getstarted.htm

To learn more about Event Macros (worksheet code), see:

http://www.mvps.org/dmcritchie/excel/event.htm


--
Gary''s Student - gsnu200843


"Roger Excellent" wrote:

The value comes from data entry, but data entry is not keyed in through the
keyboard it comes from a feed external to Excel (i.e. another program
collects data from a TCP port via a broadband connection).

"Gary''s Student" wrote:

Is the value established by a formula or via data entry??
--
Gary''s Student - gsnu200843


"Roger Excellent" wrote:

I need my PC to give an audio sound when a specific value in a nominated cell
is attained. For example if cell A1 = or greater than 2000 an ausio sound
will occur.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default FUCNTION THAT SOUND AUDIO ALARM WHEN SPECIFIC VALUE FOUND

I need my PC to give an audio sound when a specific value in a
nominated cell is attained. For example if cell A1 = or greater than
2000 an ausio sound will occur.


www.EXCELGAARD.dk\Lib\PlaySound\





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default FUCNTION THAT SOUND AUDIO ALARM WHEN SPECIFIC VALUE FOUND

On Mon, 6 Apr 2009 16:52:17 +0200, "Charlotte E" <@ wrote:

I need my PC to give an audio sound when a specific value in a
nominated cell is attained. For example if cell A1 = or greater than
2000 an ausio sound will occur.



Use a conditional and a call to a hyperlink as the true result. The
hyperlink has the multimedia desired,Size the window to hide it or
explicitly size it like a dreaded pop-up put an image in there too!
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
Alarm function, disable sound if data is erased offdah3z Excel Worksheet Functions 1 July 21st 09 08:13 PM
CAN EXCELL SOUND AN ALARM ? DWATERS Excel Discussion (Misc queries) 2 February 1st 07 10:17 PM
Sound Alarm when time expires EMoe[_35_] Excel Programming 6 July 4th 05 06:46 AM
Alarm Sound Function Not Working_Any DDE Gurus?? joeshow[_4_] Excel Programming 1 March 5th 04 09:40 PM
Pop Up and Audio alarm running as background tasks. Gary Ainsworth Excel Programming 5 November 16th 03 03:35 PM


All times are GMT +1. The time now is 02:11 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"