ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   make a sound when a certain value is reached in a specific cell (https://www.excelbanter.com/excel-worksheet-functions/236754-make-sound-when-certain-value-reached-specific-cell.html)

Chuck

make a sound when a certain value is reached in a specific cell
 
I would like to have a sound generated when a sum in a specific cell is been
surpassed

Luke M

make a sound when a certain value is reached in a specific cell
 
Right click on sheet tab, view code, paste this in.

Private Sub Worksheet_Calculate()
If Range("A2").Value 5 Then Beep
End Sub

Modify as needed.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"chuck" wrote:

I would like to have a sound generated when a sum in a specific cell is been
surpassed



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com