make a sound when a certain value is reached in a specific cell

  • Thread starter Thread starter chuck
  • Start date Start date
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.
 
Back
Top