Don't post pictures of code. Code is text. Post it as text and format it as code. That way, we can read it easily and we can also copy and paste it. Also, provide steps that we can reproduce your issue, e.g. tell us what you entered where and when and what values you expected to see where and when and what values you actually see. The Validating event works for thousands of people the world over so, if it's not working for you, either you're doing something wrong or something is broken on your system. Either way, we can't diagnose the issue without knowing exactly what you're doing.