tonywatsonhelp
Well-known Member
- Joined
- Feb 24, 2014
- Messages
- 3,210
- Office Version
- 365
- 2019
- 2016
- Platform
- Windows
Hi Everyone,
I have this macro that works great but I need it not t run if the cell I secect is zero or empty.
how can I do this/
p.s. if my code can be improved feel free to go ahead and change it
(Columns E & F are merged per row so E88:F88 etc.)
Thanks
Tony
I have this macro that works great but I need it not t run if the cell I secect is zero or empty.
how can I do this/
p.s. if my code can be improved feel free to go ahead and change it
(Columns E & F are merged per row so E88:F88 etc.)
Thanks
Tony
Code:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Private Sub Worksheet_SelectionChange(ByVal Target As Range)[/FONT]
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]If Selection.Count = 2 Then
If Not Intersect(Target, Range("$E$88:$F$91")) Is Nothing Then
If Range("$E$93") = 1 Then
Call Yes_No_Message_Goals_4
End If
End If
End If[/FONT]
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]End Sub[/FONT]