ManUBlueJay
Active Member
- Joined
- Aug 30, 2012
- Messages
- 320
- Office Version
- 365
- Platform
- Windows
Is there a way to have the worksheets change method monitor 2 cells and depending which one changes run code. Here is what I did but cannot seem to have the code run past the first if.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("B1")) Is Nothing Then
Range("A7") = "B1"
Else
If Not Intersect(Target, Range("B2")) Is Nothing Then
Range("A7") = "B2"
End If
End If
End Sub