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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Worksheet Change Event Query

Status
Not open for further replies.

robcarr

Programmer
May 15, 2002
633
GB
Dear All,

How can i get the worksheet change event to only trigger on cells a2:af51, any other cells and it ignores them.

Thanks

Thanks Rob.[yoda]
 
It is possible to trap changed cells:

[tt]Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A2:AF51")) Is Nothing Then
MsgBox "Range changed!"
End If
End Sub[/tt]

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top