tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
very confused,
I thought id done this right but its not working
All i want is for when i select either Yes or No from a drop down box to run one or the other macros?
this is what i wrote, can someone please tel me where i went wrong?
thanks
Tony
very confused,
I thought id done this right but its not working
All i want is for when i select either Yes or No from a drop down box to run one or the other macros?
this is what i wrote, can someone please tel me where i went wrong?
thanks
Tony
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$y$26" Then
If Range("Y26:Y27").Value = "Yes" Then
Call zzRedBoxhide
If Range("Y26:Y27").Value = "No" Then
Call zzRedBoxunhide
End If
End If
End If
End Sub