Since only a few keystrokes were harmful to the cell value, I added a
CellValueChanged
event. Then filtered out the read-only columns and made a string-to-integer conversion. After that, I included a try/catch block to take care of the
FormatException^
and filtered out both the numbers outside the desired range (0 to 20) and the values that included the plus sign. Not rocket science, but it got the job done!