it depends on what you want to cancel-to completely undo the changes would be very complicated. using conditional formatting for this would be much simpler