Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a sub ('Bikes), run by the button, that generates a sentence output like the examples in J13 and J14 for each data batch input.

Create a sub ('Bikes"), run by the button, that generates a sentence output like the examples in J13 and J14 for each data batch input. Also, use VBA to calculate the totals and averages in the table to the right of the data. Don't forget to handle the city misspellings (without manually changing the city names in the worksheet) in your VBA code. Assume that at least the left three characters are spelled correctly. Also assume there may be more city misspellings elsewhere in the data.Assume additional data blocks might be added or removed at the bottom, and assume there may be more than one blank row between blocks of data (there won't be less than one blank though). Make sure the summary sentences are formatted exactly as shown in the examples (including a period), and appear one after another, rather than next to the block of data.Examples of exactly how the first two summary sentences need to be are shown to the right of where your output should be. Make sure your outputs are placed in the appropriate highlighted cells. Comment your code so that a grader can follow it. Points may be deducted if there are no comments.

HINT: If you can't finish you will have a better shot at partial credit if you can at least get it to print the first sentence in the appropriate cell. Partial credit will be given for comment-code (pseudo code) as well.

I NEED THIS VBA TO CHECK MY WORK PLEASE!

image text in transcribed

File Home Insert Page Layout Formules Data Beiru Viru Developer Hep Telme what you want to do A Share A12 G M N 0 P R s T v 9 B C E 1 85 Points Possible 2 Requirements 3 Create a sub (Hikes"), run by the button, that generates a sentence output like the examples in 113 and 114 for each data hatch input. Also, Ee VHA to calculate the total 4 and Averages in the table to the right of the data. Don't forget to handle the city misspellires (without manually changing the city names in the worksheet) in your VBA 5 codo. Assume that at least the left three characters are spelled correctly. Also asume there may be more city misspellings elsewhere in the data. Assume additional data blocks might be added or romaved at the bottom, and assume there may be more than one blank row between blocks of data (there won't be less than one blank though). 7 Make sure the summary sentences are formatted exactly as shown in the examples (including a period), and appear one after another, rather than next to the block of data. & Examples of exactly how the first two summary sentences need to be are shown to the right of where your autout should be. Make sure your outputs are placed in the appropriate highlighted cells. Comment your voce so that a grader can follow it. Points may be deducted if there are no comments. 10 HINT: If you can't finish you will have a better shot at partial credit if you can at least get it to print the first sentence in the appropriate cell. Partial credit will be given for 11 comment-code (pseudo code, as well. 12 Summary Statistics Table Summary Sentence Summary Sentence Examples 13 Total Average Total Juss sold 3 bikes at the Prova office for a total of $972 14 Name of Date LIGA Location Quantity Rating Revenue Rod salds bikes at the Provo office for a total of $2,160. 15 Location Provo Orom 16 Quantity 3 3 Prova Hun 17 Revenue $972 Saringville 18 Rating O Grand Total 19 20 Name of Uute Rod 21 Location prove

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

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions