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

  Confi gure the repository and define the repository

Configure the repository and define the repository usernames and passwords - Install the subversion package.

  Write program to match master and transaction methods

When writing a program to match master and transaction methods, what should happen when the value of the master key is equal to the transaction key?

  Conduct experimental study on free and damped vibrations

Conduct an experimental study on the free and damped vibrations - Prepare a report with made for an experiment

  How might the fetch phase of the von neumann cycle

How might the fetch phase of the Von Neumann cycle have to be changed from what was described in the text?

  In software engineering one can find out different life

in software engineering one can find various life cycle models. some examples include the waterfall model agile

  Design pseudocode to enter names of two primary colors

Design a pseudocode program that prompts the user to enter the names of two primary colors to mix. If the user enters anything other than "red", "blue", or "yellow".

  Write program to input number of hours worked

Write a program that allows the user to input the number of hours worked and hourly pay rate for employees and outputs their total pay.

  Write a program that prints the balance of an account

Write a program that prints the balance of an account after each of a number of years y, given an initial balance b and a yearly interest i, specified as a percentage (e.g., 5%). The values of y, b and i are all user-specified.

  Minimize the accessibility of classes and members

Why is this correct/when is this the right idea and Minimize the accessibility of classes and members

  How recursion terminate in array

Continue in this fashion until entire array is read. Then recursively determine a candidate for B; this is  candidate for A (why?). How does the recursion terminate?

  Write program in vb dot net for mortgage payment amount

Write down the program in VB.Net (not Web based) by using the loan amount of $200,000 with the interest rate of 5.75% and 30 year term.

  Write function template that accepts array

Write a function template arraySum () whihc accepts an array and number of values stored in it and returns sum of those values.

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