Hi all,
I am trying to create a user form for entering passwords. There are two text box, first one- enter a 7 characters long, and must include exactly 1 digit ( cannot be more than 1 or 0), and also no space is allowed. The second text box will ask me to enter the password again, and check if the two attempts are the same.
I believe for checking the 7 character, Len(test) can be used
Not sure what to use for checking if there is exactly 1 digit ? In the case of more than 1 digits and 0 digit need to be handled separately?
What about the space ( any function for check space in a string??)
Any help is appreciated !! Thank you!!
Bookmarks