ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how to add sound ( beep ) if cell content changes in live data (https://www.excelbanter.com/excel-discussion-misc-queries/200605-how-add-sound-beep-if-cell-content-changes-live-data.html)

Bhavana

how to add sound ( beep ) if cell content changes in live data
 
how to add sound ( beep ) if cell content changes in live data ?

Thanks

ShaneDevenshire

how to add sound ( beep ) if cell content changes in live data
 
Hi,

Add the following code to the appropriate Sheet object:

Private Sub Worksheet_Change(ByVal Target As Range)
Beep
End Sub

or the following code to the thisWorkbook object:

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
Beep
End Sub


--
Cheers,
Shane Devenshire


"Bhavana" wrote:

how to add sound ( beep ) if cell content changes in live data ?

Thanks



All times are GMT +1. The time now is 11:51 AM.

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