Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
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

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_2

Step: 3

blur-text-image_3

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

Information Technology Audit Handbook

Authors: Doug Dayton

1st Edition

0136143148, 978-0136143147

More Books

Students also viewed these Accounting questions

Question

What is a generalization/specialization hierarchy?

Answered: 1 week ago