Create a user form that contains the usual ok and cancel

Assignment Help Programming Languages
Reference no: EM13933454

Please refer to attached PDF documents for original questions.

1. Create a user form that contains the usual OK and Cancel buttons. It also should contain two sets of option buttons, each

set placed inside a frame. The captions on the first set should be Baseball, Basketball, and Football. The captions on the

second set should be Watch on TV and Go to games. Then write the event handlers and code in a module so that when the

program runs, the user sees the form. If the user makes a couple of choices and clicks OK, he should see a message like,

"Your favorite sport is basketball, and you usually watch on TV." If the user clicks Cancel, the message "Sorry you don't want to

play." should appear.

2. Repeat the previous exercise, but now make the controls checkboxes, not option buttons. Change the message in case the

user clicks OK to something appropriate, such as, "You like baseball and basketball, and you like to watch on TV and go to

games." The message should be appropriate, regardless of which checkboxes are checked (including none being checked).

3. Create a user form that contains the usual OK and Cancel buttons. It should also contain a list box of the type where the

user is allowed to select only one item from the list. Write a UserForm_Initialize sub that populates the list with the states

Illinois, Indiana, Iowa, Michigan, Minnesota, Ohio, Pennsylvania, and Wisconsin (in this order), and selects Indiana by default.

Then write the event handlers for the buttons and code in a module so that when the program runs, the user sees the form. If

she chooses an item from the list and then clicks on OK, she should see a message such as, "You live in Ohio." If she clicks

on Cancel, she should see the message, "You must not live in a Big Ten State."

4. The file Big Ten Teams.xlsx contains the school and mascot names for the Big Ten teams in a range named Teams. (It

doesn't include Nebraska yet.) Create a user form that contains the usual OK and Cancel Buttons. It should also contain a list

box of the type where the user is allowed to select only one item from the list. Set its RowSource property to Teams, so that

the list box is automatically populated from the list in this range. Also, set its ColumnCount property to 2, so that schools and

mascots both appear in the list box, and set its ColumnHeads property to True, so that each column has an appropriate

heading. Write a UserForm_Initialize sub that selects Indiana by default. Then write the event handlers for the buttons and

code in a module so that when the program runs, the user sees the form. If he chooses an item from the list and then clicks

on OK, he should see a message such as, ''You must root for the Indiana Hoosiers." If he clicks Cancel, he should see the

message, "You must not be a Big Ten fan." (Hint: In online help, look up the BoundColumn property of a list box and how it

controls the Value property.)

 

Reference no: EM13933454

Questions Cloud

Find a confidence interval for the true mean difference : Find a 99% confidence interval for the true mean difference in growth time (given that these times are approximately normally distributed and the variances are approximately equal).
Expected net cash inflows-What is the projects IRR : A project has an initial cost of $45,000, expected net cash inflows of $12,550 per year for 8 years, and a cost of capital of 10.85%. What is the project's IRR?
Determine the density of a plastic piece : A student wants to determine the density of a plastic piece. Preliminary experiments indicate that the density of the plastic is greater than 0.85 g/ml, but less dense than water. In order to determine the density of the plastic piece, the student wi..
Can you separate attribution from social cognition : Can you separate attribution from social cognition? Why or why not? [300 word count. In-text citation and sources needed. Write in 3rd person scholarly writing and no quotes.] This is a personally developed question not an assignment or home work.
Create a user form that contains the usual ok and cancel : Create a user form that contains the usual OK and Cancel buttons
What is the sampling assumption being made : If an estimate of the difference in mean time to completion of the task is recognized to be within ±2 minutes with 95% reliability, how large of a sample is needed (for each group)? What is the sampling assumption being made?
What is the return on levered equity : The unlevered return on equity for a company is 6.55%, the company keeps a constant debt policy and the debt-to-equity ratio is 0.7. The beta of debt is equal to 0.1 and the risk free rate is 3.25%. Knowing that the market risk premium is 4.50% and t..
Explain the role of emotion in each theory : Explain how the intergroup threat theory and the intergroup emotions theory would interpret the event. Explain the key tenets of each theory as the foundation for intergroup relationships as applied to the current event you selected.
Conclude your presentation with wrap up of concept : You have always wanted to own a restaurant and have now decided to go into business, purchase a building, and open an Italian Bistro. The items listed below provide information regarding the purchases you will need to make to start your business. The..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd