André,
Roger has given you the code to cause your code to run when a particular cell has been
changed. If it's a range of cells, like an entire column, here's an oft-used technique:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect( Target, Range("A:A")) is Nothing then
' your code here
End If
End Sub
--
Earl Kiosterud
www.smokeylake.com
Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
Dear all,
I need that excel execute some VBA code when I change the value of a
cell in a sheet...
How can I do it?
Thanks a lot !!!
André.