VBA : create the macro that generates an email address
VBA :
create the macro that generates an email address and a password based on the student's personal information.
the macro:
Asks the user to give their full name (last name and first name separated by a comma)
Their age and date of birth in the format MM-DD-YY (Ex: for a person born on February 18, 1987, the user must enter: 02-18-87).
Form the email address with the first 2 letters of the first name, the last 3 letters of the last name
Randomly adds a code from one of the codes of cell A1 (3467/5790/2467/7904/3579/2469/3578/1250)
And completes the address, with the addition of “@student.com” at the end of the email address.
Create the password with the first 3 letters of the last name, followed by the first 2 letters of the first name, followed by their age and month of birth.
Step by step
Solved in 3 steps