PDA

View Full Version : Textbox number of digits allowed



harber95
08-05-2015, 10:14 AM
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

Kenneth Hobs
08-05-2015, 10:17 AM
If Len(TextBox1)<>9 then ....

harber95
08-05-2015, 10:47 AM
Thanks, works smoothly!

harber95
08-05-2015, 10:51 AM
Ignore this response. Thanks again