Question: 3. Given the spreadsheet setup below and if the user enters 2 in the input box, what value will be shown in the message box

 3. Given the spreadsheet setup below and if the user enters

3. Given the spreadsheet setup below and if the user enters 2 in the input box, what value will be shown in the message box when the WhatWillHappen subroutine is run? A B D 1 4 5 3 1 2 2 3 5 1 3 5 6 3 5 4. + N m + 3 1 2 N N m n 5 5 1 2 3 6 5 2 4 5 7 4 4. 5 5 Sub What Will Happen() Dim y As Integer y = InputBox ("Please enter a number:") ActiveCell.Offset (Range ("B2:05").Cells (3, y), Selection.Cells (3, y)).Select MsgBox Cells (y + 1, ActiveCell - 1) End Sub

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!