Answered step by step
Verified Expert Solution
Link Copied!

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."
image text in transcribed
**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

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

Step: 3

blur-text-image

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

Recognize the power of service guarantees.

Answered: 1 week ago