Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Audio warning when cells change

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 373
Default Audio warning when cells change

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" wrote in message
...
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
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
Opening Excel and Audio Clip Mike Excel Discussion (Misc queries) 1 July 28th 06 07:35 PM
turn on audio in excel Linda Excel Discussion (Misc queries) 1 March 20th 06 05:04 PM
warning: cannot change part of an array. how do I by pass this? Gwyneth Excel Worksheet Functions 3 December 8th 05 11:17 AM
Any MP3 audio instructions on Excel Macros?? Jerry Kinder Excel Worksheet Functions 0 October 21st 05 03:12 AM
Error/Warning Message for Null Cells Spyder Excel Discussion (Misc queries) 2 March 23rd 05 03:16 PM


All times are GMT +1. The time now is 08:53 AM.

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

About Us

"It's about Microsoft Excel"