Starting a macro by editing a cell

  • Thread starter Thread starter Yiannis
  • Start date Start date
Y

Yiannis

I would like a macro to be initiated whenever someone edits a particula
cell, does anyone now how this can be done?

Many Thanks,

Yianni
 
Yiannis

You would need on change macro in the worksheet module




Private Sub Worksheet_Change(ByVal Target As Excel.Range)
If Target.Address = "$A$1" Then

my code gets actioned here
if target.value = "" then
exit sub
end if
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