How to know if a cell is in a range?

B

Bob Phillips

If Not Intersect(Range("D9"),Range("A7:E20")) Is Nothing Then
MsgBox "yes"
End If

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
C

Casrlos A.

Thanks!!

Bob Phillips said:
If Not Intersect(Range("D9"),Range("A7:E20")) Is Nothing Then
MsgBox "yes"
End If

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Top