See if cell is in a range

  • Thread starter Thread starter Dan Rositer
  • Start date Start date
Dan

check the Help for Intersect

For example (not tested):

If Intersect(ActiveCell, Range("A1:C20") Is Nothing Then
MsgBox "Not in Range"
Else
MsgBox "In Range"
End If

Regards

Trevor
 
Back
Top