Question: 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."
 Write a Visual Basic Code for the following problem: "If the
**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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!