Question: Password verifier VBA-scripts.
Create a VBA script that simulates validation of user-passwords. The script should:
- prompt users for a password.
- validate that the:
- 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.