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.