How can i find a cell in a specified range.
When the user changes a cell in the worksheet i need to know wether he changed a cell in the specified range or not.
I need this for the change-event of that worksheet.
Worksheets("Sheet1".Activate
Set isect = Application.Intersect(Range("rg1", Range("rg2")
If isect Is Nothing Then
MsgBox "Ranges do not intersect"
Else
isect.Select
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.