Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

e
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Accounting And Reporting

Authors: Barry Elliott, Jamie Elliott

3rd Edition

0139488944, 978-0139488948

More Books

Students also viewed these Accounting questions