rjplante
Well-known Member
- Joined
- Oct 31, 2008
- Messages
- 574
- Office Version
- 365
- Platform
- Windows
I would like to have a macro launched when a cells value changes to "YES". I have the code listed below but it does not work. The cell has a formula that monitors the sheet to determine if it is complete. When it is, the value changes from 'NO" to "YES". Then I would like it to launch another macro. How do I do this?
--------------------------
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Count > 1 Then Exit Sub
Select Case Target.Address(False, False)
Case "BE5"
IF Range("BE5").value="YES" Then
Call MSTS_Update
Else
Exit Sub
End If
End Select
End Sub
--------------------------
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Count > 1 Then Exit Sub
Select Case Target.Address(False, False)
Case "BE5"
IF Range("BE5").value="YES" Then
Call MSTS_Update
Else
Exit Sub
End If
End Select
End Sub