Every cell has an address, e.g. 2nd row, 2nd column is B2 or $B$2 as normally reported to he workseet_change event handler. This is called whenever ANY cell value changes and passed the address involved. SO;
1. we check if the cell being monitored indeed the one passed to the event handler macro
2. your question said column B; I suppose you may mean all rows in column B are to be monitored. The the first line would be
and probably that is the change you need to make. you may wish to limt the rows monitored if not the whole column; you would test target.row for this
3. the macro changes another cell (col c, d, e etc., so the event handler will fire for every monitor entered
4. I disable the event handler before reording avalue to prevent this. And of course switch it back or the event handlers will never fire. You could instead leave those lines out and rely on the column test.
Bookmarks