Re: call a macro if value in particular column is either of 2 specific values
Code
If target.Count > 1 Then Exit Sub
If Not Intersect(target, Range("O:O")) Is Nothing Then
Application.ScreenUpdating = False
If target.Value = "D. DUTY" Or target.Value = "SPM DUTY" Then
Application.EnableEvents = False
Call CopyDownRows
Application.EnableEvents = True
Application.ScreenUpdating = True
Else
Exit Sub
End If
End If
Display More
above code worked for me.thanks once again