Change what was entered

  • Thread starter Thread starter bw
  • Start date Start date
B

bw

I'd like to execute a macro each time a specific cell has been changed.

For example, if you enter something in cell D3, I want a macro to run.

Can someone lead the way?

Thanks,
Bernie
 
On the sheet module for the sheet you wish to change place this cod
replacing Do Something with your own code


Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Address = "$D$3" Then
do something
End If
End Su
 

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