PC Review


Reply
Thread Tools Rate Thread

Audio warning when cells change

 
 
=?Utf-8?B?UnViZW4=?=
Guest
Posts: n/a
 
      17th Aug 2007
I have a spreadsheet that gets its values from a query. When those values
change below a certain number then I would like to hear an audio warning. How
can this be done? Anyone responding please tell me exactly where to paste the
code since I'm not a programmer.
The data is on a sheet called "runs", the cells in question are "K4:K9",
the cells contain numbers"K4=20,K5=88,K6=22,K7=22,K8=75,K9=44". These values
come from a query called "Monitor". Whenever these cells change in value,
whether they go up or down, I would like an audio warning.
thank you

 
Reply With Quote
 
 
 
 
Zone
Guest
Posts: n/a
 
      17th Aug 2007
Right-click on the sheet tab and select View Code. Copy this code and paste
it in there. Change < 10 to whatever number you want. HTH, James

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 11 And (Target.Row >= 4 Or Target.Row <= 9) Then
If Target < 10 Then Beep
End If
End Sub


"Ruben" <(E-Mail Removed)> wrote in message
news:36B55061-834F-4956-8153-(E-Mail Removed)...
>I have a spreadsheet that gets its values from a query. When those values
> change below a certain number then I would like to hear an audio warning.
> How
> can this be done? Anyone responding please tell me exactly where to paste
> the
> code since I'm not a programmer.
> The data is on a sheet called "runs", the cells in question are "K4:K9",
> the cells contain numbers"K4=20,K5=88,K6=22,K7=22,K8=75,K9=44". These
> values
> come from a query called "Monitor". Whenever these cells change in value,
> whether they go up or down, I would like an audio warning.
> thank you
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need the code for Audio Warning! =?Utf-8?B?UnViZW4=?= Microsoft Excel Programming 2 17th Aug 2007 01:45 AM
How can I turn off the OLE warning when merging cells? =?Utf-8?B?TmV3YXJrR29zcw==?= Microsoft Excel Programming 2 6th Jul 2007 06:44 PM
Need Warning Box before deleting cells =?Utf-8?B?ZHppZXJ6ZWty?= Microsoft Excel Programming 2 21st Sep 2006 03:42 PM
Error/Warning Message for Null Cells =?Utf-8?B?U3B5ZGVy?= Microsoft Excel Misc 2 23rd Mar 2005 03:16 PM
Suppress warning when Merging Cells by Code Ashish Microsoft Excel Discussion 2 16th Apr 2004 06:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:27 PM.