Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a VBA script that simulates validation of user-passwords. The script should: - prompt users for a password. - length of the password entered is
Create a VBA script that simulates validation of user-passwords.
The script should:
- prompt users for a password.
- length of the password entered is at least 8 characters.
- first character of the password is an UpperCase letter.
- password contains at least one of the numbers 3, 7, 8, or 9.
- prompt for passwords until the user enters a valid password or the user makes 5 unsuccessful attempts.
Display a warning message if there are 5 attempts, otherwise Display a string that consists of the length of the password concatenated with the password.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started