Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with 5-10. It is VBA, and the picture with color is supposed to be the end result. Dim anchorCell As Range 1.Use the

Please help with 5-10. It is VBA, and the picture with color is supposed to be the end result.
image text in transcribed
image text in transcribed
image text in transcribed
Dim anchorCell As Range 1.Use the score data in worksheet Problem 2 (wsData) 2. Define a range variable (anchorcell) and assign t Cell A 3. Using the offset property of the anchorcei1,use essae box to display wsData.Activate Set anchorCell = Range ("a1") the value in cell D5 anchorCell.Offset (4, 3).Select MagBox Worksheets.anchorCell 4. Using the cells property of the anchorcell. use a me ssage box to display the value in cell C3 anchorCell.Offset (2, 2). Select MsgBox Worksheets.anchorCell 5. Using zange, anchorcell, the end property, select che zange fox the cells with the ID and SSN (Hint: Use xlDown two times to get to the cop of the desired zange and three times to get to the bottom of the desired range.) Range (anchorCell).End (x1 Down).Select Range (anchorcel1).Ottset (12,).End (x1Down) .Seleot 6.Using range, anchorCel1, the end property and the currencRegion property to select the range for the cells with the ID and SSN 7. Using the anchorcell, offset with the end property and the FormulaRIC properties place a formula under the column H that calculates the average over cores 1 to 5 for all rows 2 to 9.1 zeference a cell, copy the SSN from the range B13:821 to column 11 Scorel (note: step through the code to see the effect because once b) is , 8.Using the copy and paste methods and using the anchorCel1 and oftset to 9. Sozt cells in zange A2:19 according to a) descending SSN, b) ascending 'executed, then the sorting by a) is no 1onger valid. 10. Using the anchorCell and the offset property, redefine a new range with 4 , rows and columns with the upper left-hand corner being cell C4 (Hingt use . the property Resize(#Rows, #Cols). Then highlight the following : a. the 3-rd row from the top of the range of the data in yellow b. the 1ifth column from the left of the range of the data in red c. the Complete 7-th row from the top of the data in magenta d. the complete 6-th column from the left of the data in greern sData.Cells.ClearFormatS

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

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

1. What are the pros and cons of diversity for an organisation?

Answered: 1 week ago

Question

1. Explain the concept of diversity and equality in the workplace.

Answered: 1 week ago