In a userform, I have a textbox to fill with exactly 9 digits. After that, I'm supposed to press a button. That button must meet the condition mentioned in the beginning of this post. Thanks
In a userform, I have a textbox to fill with exactly 9 digits. After that, I'm supposed to press a button. That button must meet the condition mentioned in the beginning of this post. Thanks
If Len(TextBox1)<>9 then ....
Thanks, works smoothly!
Ignore this response. Thanks again