How do I run some VBA code when a cell is changed?
Posted
by Gravitas
on Stack Overflow
See other posts from Stack Overflow
or by Gravitas
Published on 2010-05-19T14:57:40Z
Indexed on
2010/05/19
15:00 UTC
Read the original article
Hit count: 260
I want to add some VBA code when the value in a cell changes.
I've already tried Worksheet_Change(), as described at http://www.contextures.com/xlfaqmac.html#WSChange
However, this won't work: it only fires when the user changes the value. I want to fire it whenever the value changes, i.e. whenever the spreadsheet recalculates.
Any ideas?
© Stack Overflow or respective owner