Hey all.
I'm developing a system that is password protected; one of the functions that is required is that the user is able to change there password on the condition that it meets the password criteria.
The user needs to have a password consisting of at least 8 chars which must include a letter, a upper case letter and a number.
I have code that handles the changing of the password, however I was wondering if anyone could give me any pointers as to how I would be able to inforce the above criteria.
I've done some searching and the only way that I can see of doing this is to store each letter that the user enters into an array and then do a for loop to test each of the charactas, although to be completely honest i'm very new to programming in vba.
If anyone could link me to some sample code that I could adapt to fit my needs I would be very greatfull.
Thanks for reading.
I'm developing a system that is password protected; one of the functions that is required is that the user is able to change there password on the condition that it meets the password criteria.
The user needs to have a password consisting of at least 8 chars which must include a letter, a upper case letter and a number.
I have code that handles the changing of the password, however I was wondering if anyone could give me any pointers as to how I would be able to inforce the above criteria.
I've done some searching and the only way that I can see of doing this is to store each letter that the user enters into an array and then do a for loop to test each of the charactas, although to be completely honest i'm very new to programming in vba.
If anyone could link me to some sample code that I could adapt to fit my needs I would be very greatfull.
Thanks for reading.