Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a. Using the properties window in the VB editor assign the code name wsEx2 to the sheet with tab name Sheet1. b. Using VBA code

a. Using the properties window in the VB editor assign the code name wsEx2 to the sheet with tab name Sheet1.

b. Using VBA code and the code name for worksheet Sheet1, make this worksheet the active sheet.

c. Declare a range variable and assign to this variable the range from A2 to A10 in the worksheet Sheet1.

d. Write VBA code to create a range name and call it Scores. This range name should refer to the range B6 to B14 in the worksheet labeled Sheet2

e. Write VBA code that uses an Excel worksheet function that calculates the weighted average score (i.e., the dot product of the range defined in part c. and the range in part d. and place the calculated value in cell A12 of the Sheet1 worksheet.

f. Using VBA code change the background color of cell A12 to green.

g. Using VBA code change the font type in cell A12 to italic and bold.

h. Using VBA code change the format property of cell A12 so that it is displayed as a number with exactly three digits to the right of the decimal point and at least three digits to the left of the decimal point. That is, 0.3013 should be displayed as 000.301.

image text in transcribed

image text in transcribed

Arial 14 AA Paste Weights 1 2 3 4 5 1 Weights 21 22.28% 31 13.48% 41 4.28% 51 7.20% 61 21.98% 8.03% 81 3.44% 91 15.49% 101 3.81% 2 12 13 14 15 16 17 Sheet1Sheet2+ Ready Average: 0 Scores 80 51 46 64 48 78 7 67 Sheet1 Sheet2 + adv Arial 14 AA Paste Weights 1 2 3 4 5 1 Weights 21 22.28% 31 13.48% 41 4.28% 51 7.20% 61 21.98% 8.03% 81 3.44% 91 15.49% 101 3.81% 2 12 13 14 15 16 17 Sheet1Sheet2+ Ready Average: 0 Scores 80 51 46 64 48 78 7 67 Sheet1 Sheet2 + adv

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

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions

Question

4. Support and enliven your speech with effective research

Answered: 1 week ago

Question

3. Choose an appropriate topic and develop it

Answered: 1 week ago