Quote Originally Posted by x-ice View Post
My code checks as each character is typed, therefore literally stopping you typing text
But it doesn't consider pasting characters, for instance, when using the edit box's context menu.

Therefore, you will need additional code in the Change or Validate events.