Question: This is VBA Code Problem. 4. A puzzle. The last thing you are going to do is get a little bit more practice with working
This is VBA Code Problem.


4. A puzzle. The last thing you are going to do is get a little bit more practice with working with flowcharts and writing VBA code. The code presented below is incomplete and the flowchart on the following page is also incomplete but the flowchart corresponds to the code below Function WhatDoIDo (DataRange) Dim nRows As Integer, nCols As Integer Dim i As Integer, j As Integer, MaxVal As Double Dimx As Double = DataRange . Rows . Count B | = DataRange . Columns. Count axval = Application . WorksheetFunction . Max (DataRange) x = DataRange (1, 1) If MaxVal = x Then x = DataRange (1, 2) For i = 1 To For j = 1 To D If DataRange (i, j) MaxVal Then If DataRange (i, j) x Then x = DataRange (i, j) End If End If Next j Next E
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
