Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Visual Basic Code for the following problem: If the day of the week is Monday through Friday, then a message box is used
Write a Visual Basic Code for the following problem:
"If the day of the week is Monday through Friday, then a message box is used to display the string "You should be at work!". (Remember that it had to be between 8:00am and 5:00pm to get to this point.) Otherwise, outputs the message "I love weekends". Id the time of day is not between 8:00am and 5:00pm, then the string "You should not be at work!" is displayed in a message box."
**Code needs to be written in Visual Basic (VBA in Excel)**
Problem 2: Write a code for the following problem: "If the day of the week is Monday through Friday, then a message box is used to display the string "You should be at work!". (Remember that it had to be between 8:00 A.M. and 5:00 PM to get to this point.) Otherwise, outputs the message "I love weekends". If the time of day is not between 8:00 A.M. and 5:00 P.M, then the string "You should not be at work!" is displayed in a message box Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started