Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find a cell in a specified range 1

Status
Not open for further replies.

lode

Programmer
Nov 8, 2001
208
BE
Hi,

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.

Thanks

Lode.



 
From Help:

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


HTH
Andrea
 
Hi aMember,

This is just what i'm looking for.
GREAT !!!!!
Thanks you very, very much !!

Best regards.

Lode.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top