monitoring range change

G

Guest

hi
i have some run problam with following code, please help.
Code is as under
------
Private Sub Worksheet_Change(ByVal Target As Excel.Range)
Set VRange = Range("BD1:BV600")
For Each cell In Traget
If Union(cell, VRange).Address = VRange.Address Then
MsgBox " The changed cell is in the input range."
End If
Next cell
End Sub
 
G

Guest

sorry again here with some more detail,

back ground color is yellow of => For Each cell In Traget
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top