Insert a button type object in your excel sheet and using the VBA editor to program...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Insert a button type object in your excel sheet and using the VBA editor to program the following code Run the code and say what is the result obtained if first number is 23 and second number is 4. Sub inputuser () Dim num1 As Double Dim num2 As Double Dim num3 As Double num1 = InputBox("Please input your first number") num2= InputBox ("Please input your Second number") num3 = num1 num2 MsgBox (num3) End Sub Insert a button type object in your excel sheet and using the VBA editor to program the following code Run the code and say what is the result obtained if first number is 23 and second number is 4. Sub inputuser () Dim num1 As Double Dim num2 As Double Dim num3 As Double num1 = InputBox("Please input your first number") num2= InputBox ("Please input your Second number") num3 = num1 num2 MsgBox (num3) End Sub
Expert Answer:
Answer rating: 100% (QA)
In excel button type object needs to be created and using VBA editorthe code provided needs to be ex... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
1. Insert a module and create a subroutine named Receipt(). Excel 2. Place a button with the name "Generate Receipt" that would link to this subroutine when clicked. Do the following parts from 3 to...
-
Identify each of the following items as revenues, expenses, or withdrawals from the drop down provided. 1. Advertising expense 2. Consulting revenue 3. Rent expense 4. Rental income 5. Wages expense...
-
Compute the missing amounts for each of the following businesses: Fraser Co. Delta Co. Pine Co. Beginning 350,000 200,000 $300,000 120,000 $540,000 360,000 Liabilities Ending $500,000 250,000...
-
Prepare a report for Star, explaining these two areas of concern.
-
The defendant, Sterile Technologies, Inc., purchased a sterilizer from the plaintiff, Troy Boiler Works, on an installment payment plan. The defendant was to make installment payments charged with
-
AV City stocks and sells a particular brand of laptop. It costs the firm $625 each time it places an order with the manufacturer for the laptops. The cost of carrying one laptop in inventory for a...
-
How to explain in details the constraints and integrity of the relational model regarding relations and relationships in Database System ?
-
Which of the following statements about deception is accurate? a). Deception has never been used in any research study in the history of psychology. b). There has been a steady increase in the use of...
-
Make a CAGE analysis of Morocco, Romania and South Korea. What conclusions do you draw from the point of view of a South Korean firm willing to invest in an assembly plant in one of these two...
-
What are the relative advantages and disadvantages of having a high proportion of global managers to local ones?
-
In June 2011, Royal Dutch Shell (usually known as Shell) and Cosan announced the start of operations at Razen, a 50/50 joint venture to produce ethanol, sugar and electricity from sugar cane, as well...
-
Brazil The Republic of Brazil is the largest country in South and Central America. Numerous indigenous tribes predated the arrival of the explorer Pedro lvares Cabral who claimed the territory for...
-
Why is globalization increasingly being called into question?
-
A grocery store is interested in how much money, on average, their customers spend each visit in the produce department. Using their store records, they draw a random group of 1,000 visits and...
-
In Problems 718, write the augmented matrix of the given system of equations. f0.01x0.03y = 0.06 [0.13x + 0.10y = 0.20
-
In problem, use a calculator to find the approximate value of each expression rounded to two decimal places. sin 28
-
A student attempted to solve the inequality x + 4/x 3 0 by multiplying both sides of the inequality by x - 3 to get x + 4 0. This led to a solution of {xlx -4}. Is the student correct? Explain.
-
Biorhythms In the theory of biorhythms, a sine function of the form P(t) = 50 sin(t) + 50 is used to measure the percent P of a person's potential at time t, where t is measured in days and t = 0 is...
-
To test \(H_{0}: \sigma=50\) versus \(H_{1}: \sigma <50\), a random sample of size \(n=24\) is obtained from a population that is known to be normally distributed. (a) If the sample standard...
-
In Example 2 from Section 10.3, the quality-control engineer for M\&MMars tested whether the mean weight of fun-size Snickers was 20.1 grams. Suppose that the standard deviation of the weight of the...
-
(a) Determine the critical values for a right-tailed test of a standard population deviation with 18 degrees of freedom at \(\alpha=0.1\) level of significance. (b) Determine the critical values for...
Study smarter with the SolutionInn App