Compare address to a range
I think this is about as compact as it gets. I hope this helps! If so, let
me know, click "YES" below.
If Not Application.Intersect(Target, Range("BC3:BC7")) Is Nothing Then
' put your code here
End If
--
Cheers,
Ryan
"dhstein" wrote:
I have this code in an event macro:
If Target.Address = "$BC$3" Or Target.Address = "$BC$4" Or Target.Address =
"$BC$5" Or Target.Address = "$BC$6" Or Target.Address = "$BC$7" Then
Is there a more compact way to write that statement? Thanks for any help on
this.
|