Question: The following Excel image has a VBA program (see below). What will be the result after the program is executed? Any cells not displayed are

The following Excel image has a VBA program (see below). What will be the result after the program is executed? Any cells not displayed are currently empty, and any cells with numbers are formatted numeric. Wub sum_of_finea () \[ \begin{array}{l} \text { 1ast_rox = Range ("10000"), End (x1Up). Row } \\ \text { For eurrent rou - 1ast_row To } 6 \text { step }-2 \\ \text { if Ce11n (current row, 1), Value - NYYPDe And } \\ \text { Cells (current_row, 3). Value = "ASTORIA" Then } \\ \text { total fine = total_fine + Cella (current_row, 4). Value } \\ \end{array} \] End If Sext \[ \begin{array}{l} \text { Cella(1ant fon + } 2 \text {, 3) . Value - "The stM of tines 1s" } \\ \text { Cells }(1 \text { ast_zow }+2,6) \text {, Value = total_ tine } \\ \text { Cella (1ast_row + 2, 6). Style = "Currency" } \\ \end{array} \] End Sub \begin{tabular}{|l} 140 \\ 310 \\ 265 \\ 165 \\ 280 \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
