I’d like to develop the following code in order to trigger another section of code (in this case ‘Mail_CDO’) not only when the cell value is greater than 7000 but also in the event that A1’s value remains the same for,say, more than 10 minutes. Any ideas?
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("A1"), Target) Is Nothing Then
If IsNumeric(Target.Value) And Target.Value > 7000 Then
Mail_CDO
End If
End If
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("A1"), Target) Is Nothing Then
If IsNumeric(Target.Value) And Target.Value > 7000 Then
Mail_CDO
End If
End If
End Sub