Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to create a range address with ADDRESS function? | Excel Worksheet Functions | |||
Compare last octet of IP address | Excel Discussion (Misc queries) | |||
Compare a selected Range with a Named range and select cells that do not exist | Excel Programming | |||
Compare Ranges by Address | Excel Programming |