Question: e QUESTION 2) Create a Sub that: Display an input box with prompt Please enter your birth year Get the user input into a VBA
QUESTION 2) Create a Sub that: Display an input box with prompt "Please enter your birth year" Get the user input into a VBA Variable If the value entered by user is not numeric, display a message box saying "Please enter a number" Else if the value is numeric, calculates the age of the user If age is greater than 30, display a message box saying "Too Old!!!" Else if age is less than 18, display a message box saying "Too Young!!!" Else display a message box saying "Perfect!" QUESTION 2) Create a Sub that: Display an input box with prompt "Please enter your birth year" Get the user input into a VBA Variable If the value entered by user is not numeric, display a message box saying "Please enter a number" Else if the value is numeric, calculates the age of the user If age is greater than 30, display a message box saying "Too Old!!!" Else if age is less than 18, display a message box saying "Too Young!!!" Else display a message box saying "Perfect
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
