Worksheet Change

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear All,

I have one cell in a worksheet and I want to fire a Macro
when this particular cell changes but not when other
cells change within the same sheet. It would be useful to
know how I can do the same for a range too. Any help is
appreciated. Thanks in advance.
 
Try something like this
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("a1:a1"), Target) Is Nothing Then
macrochange
End If
End Sub
Tina
 

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

Back
Top