willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 931
- Office Version
- 365
- Platform
- Windows
I have drop down lists in column O where you can toggle the status from "blank", to "open" to "closed".
What I would like to do is have a certain macro run every time the status is changed in any of the cells in column O.
the following vba code that I currently have (that I inserted under sheet3 (Database)) is below but currently when I change any of the status of any of the cells in column O on the Database sheet nothing happens.
Could someone be able to tell me what I am missing?
Thank you
What I would like to do is have a certain macro run every time the status is changed in any of the cells in column O.
the following vba code that I currently have (that I inserted under sheet3 (Database)) is below but currently when I change any of the status of any of the cells in column O on the Database sheet nothing happens.
Could someone be able to tell me what I am missing?
Thank you

Code:
Private Sub Worksheet_Change(ByVal Target As Range) If Target.Count > 1 Then Exit Sub
If Target.Address <> "O:O" Then Exit Sub
Select Case Target.Text
Case "Open": Call Open1
Case "Closed": Call Closed
Case Else: Exit Sub
End Select
End Sub