Question: 1. Which loop structure can we use to loop through a range object? a. FOR EACH cell b. SELECT CASE c. IF THEN ELSE 2.

1. Which loop structure can we use to loop through a range object? a. FOR EACH cell b. SELECT CASE c. IF THEN ELSE

2. What is the correct way to find the number of rows in a range object called 'Data'? a. Data.Row b. Data.Rows.Count c. Data.Count

3. Which statement will collect the first row of a data range called rgOutput? a. OutputRow = Row(rgOutput) b. OutputRow = rgOutput.Row c. OutputRow = Cells(rgOutput)

4. Which statement will turn the range entered in a RefEdit box on a form into a range object? a. Set rgOutput = Range(Me.refOutputRange) b. rgOutput = Me.refOutputRange c. Me.refOutputRange = rgOutput

5. What is the correct way to select a range of data to store in a range object that goes from row 2 to an undetermined number of rows across columns A - D? a. Set rgData = Range(Range("A2"), Range("A2").End(xlDown)) b. Set rgData = Range(Range("A2"), Range("A2").End(xlToRight)) c. Set rgData = Range(Range("A2"), Range("D2").End(xlDown)) d. Set rgData = Range(Range("A1"), Range("D1").End(xlDown))

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!