Here is aworksheet with the spending of some people on their meals ina day. Spendings...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Here is aworksheet with the spending of some people on their meals ina day. в Spendings 2 Name Breakfast Lunch Tea Dinner 3 Brenda 30 85 25 50 4 Candy 5 Dennis 6 Anthony 7 Amy 22 44 78 92 18 40 49 30 20 38 25 30 80 Cells B3 to E7 are then selected. B. D. Spendings Tea 2 Name Breakfast Lunch Dinner 3 Brenda 4 Candy 5 Dennis 6 Anthony 7 Amy 30 85 25 50 22 44 78 92 18 40 49 30 20 38 25 55 30 80 Next, a VBA macro is run while the cells are selected. The macro will highlights the names of the people whose spending of any meals is higher than or equal to 50. Here is the VBA macrowith some missing code: Sub HighlightMeals() Dim ThisCell As Range Cells.Interior.Colorindex = x1None For Each Thiscell In If Thiscell.Value >= 50 Then Blank 1 Cells( 8lank 2, 1). Interior.Color = vbYellow End If Next ThisCell End Sub After running the VBA macro, the worksheet becomes: B. D. Spendings 2 Name Breakfast Lunch Tea Dinner 3 Brenda 4 Candy 5 Dennis 6 Anthony 7 Amy 30 85 25 50 22 44 78 92 18 40 49 30 20 38 25 55 30 80 8. You need to fill in the blanks in the code so that the macro performs as described above. You need to write the answers clearly in the boxes below. Do not add any spaces in the answers. For example, if you need to write an expression such as A+ B, you will write A+B without any spaces in between. Blank 1 is Blank 2 is Here is aworksheet with the spending of some people on their meals ina day. в Spendings 2 Name Breakfast Lunch Tea Dinner 3 Brenda 30 85 25 50 4 Candy 5 Dennis 6 Anthony 7 Amy 22 44 78 92 18 40 49 30 20 38 25 30 80 Cells B3 to E7 are then selected. B. D. Spendings Tea 2 Name Breakfast Lunch Dinner 3 Brenda 4 Candy 5 Dennis 6 Anthony 7 Amy 30 85 25 50 22 44 78 92 18 40 49 30 20 38 25 55 30 80 Next, a VBA macro is run while the cells are selected. The macro will highlights the names of the people whose spending of any meals is higher than or equal to 50. Here is the VBA macrowith some missing code: Sub HighlightMeals() Dim ThisCell As Range Cells.Interior.Colorindex = x1None For Each Thiscell In If Thiscell.Value >= 50 Then Blank 1 Cells( 8lank 2, 1). Interior.Color = vbYellow End If Next ThisCell End Sub After running the VBA macro, the worksheet becomes: B. D. Spendings 2 Name Breakfast Lunch Tea Dinner 3 Brenda 4 Candy 5 Dennis 6 Anthony 7 Amy 30 85 25 50 22 44 78 92 18 40 49 30 20 38 25 55 30 80 8. You need to fill in the blanks in the code so that the macro performs as described above. You need to write the answers clearly in the boxes below. Do not add any spaces in the answers. For example, if you need to write an expression such as A+ B, you will write A+B without any spaces in between. Blank 1 is Blank 2 is
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Brenda and Sasha are equal partners in an interior decorating business in Kenora, Ontario. Their income statement for the year ended December 31 shows: They have each asked you to prepare their...
-
7 day meal plan DAY 1 Breakfast 2 slices of whole grain bread toasted and smeared with 1 tablespoon nut butter almond butter peanut butter etc 1 large or orange Lunch 2 cups of mixed veggies 1 2 cup...
-
Amy gets home from classes around 5 P.M. each day and can only reasonably work on her studies until midnight. She usually watches an hour of television to relax, works out for 30 minutes, and takes...
-
A three-phase line has an impedance of 1 + j3 per phase. The line feeds a balanced delta-connected load, which absorbs a total complex power of 12 + j5 k VA. If the line voltage at the load end has...
-
Find the following derivatives (a) d/dx erf (x) (b) d/dx Si(x)
-
If an ultraviolet photon is to dissociate the oxygen and carbon atoms in the carbon monoxide molecule, it must provide 11 eV of energy. What is the minimum frequency of the appropriate radiation?
-
Mrs. Palsgraf was waiting for a train on a platform of a railroad. When a different train came into the station, two men ran to get on that train before it left the station. While one of the men...
-
Duggan Company applies manufacturing overhead to jobs on the basis of machine hours used. Overhead costs are expected to total $325,000 for the year, and machine usage is estimated at 125,000 hours....
-
1. (a) Make a sketch of the region D that is being integrated over by the following sum of integrals: 2-x2 Lo L " 1 dydx + === 1 dydx (b) Write ONE polar double integral whose value is the same as...
-
Omar is leading a weekly workshop series for his peers on how to be a successful student. Each week, he assigns a task for them to try and report back on next session. However, it seems like nobody...
-
(a) A car has an initial speed of 25m/s and a constant deceleration of 3m/s. Determine the velocity of the car when t-4s. What is the displacement of the car during the 4s time interval? How much...
-
a A contract is made in Jamaica for the sale of bananas from a farm in Port Antonio packed in crates, CIF to the Port of Liverpool in the UK. In this case, the seller is the shipper, and the seller...
-
Two manufacturing companies (Fuller Industries and Gogul Manufacturing) report the following information. Fuller Industries Gogul Manufacturing ($ in thousands) Sales PPE, net Sales PPE, net Year 6...
-
In order to keep the same amount of money from sales overall, raising the selling price per unit while simultaneously decreasing the quantity sold is one way to boost projected operational income....
-
You just landed a new job as Quality Assurance Analyst in the procurement department at Johnson and Johnston Limited. You were given the task to develop a detailed framework for a new Supplier...
-
Find the output of the following Residual Block given the input tensor. 5x5x3 Output 5x5x5 Input 1x1 conv, 3 BN, relu 3x3 conv, 1 BN, relu 1x1 conv, 1
-
When do you use your mental shortcut (system 1) to make purchase decisions?When do you use deliberate and rational thinking (system 2) to make purchase decisions? What are the pros and cons of...
-
A Bloomberg Businessweek subscriber study asked, In the past 12 months, when traveling for business, what type of airline ticket did you purchase most often? A second question asked if the type of...
-
There are a lot of ways to slice up the U.S. budget. With this in mind, which of the following statements are true, according to Figure 36.4? i. Most of the federal budget is spent on welfare and...
-
For each of the following, indicate if the supply for the good would become more elastic or less elastic as a result of each change and briefly justify your answer. (Once again, in each case the...
-
a. If oil executives read in the newspaper that massive new oil supplies have been discovered under the Pacific Ocean but will likely only be useful in 10 years, what is likely to happen to the...
-
Which of the following statements regarding the sale of inventory by Rainer to Topmaker is correct? A. Th e sale represents a downstream sale. B. Topmakers unrealized profi ts are initially deferred....
-
Based on Exhibit 3, Topmakers impairment loss under IFRS is: A. $120 million. B. $300 million. C. $400 million.
-
Th e value of the minority interest at the acquisition date of January 1, 2020 is: A. $300 million. B. $400 million. C. $500 million.
Study smarter with the SolutionInn App