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
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 Sub GDP0 tot=0 finalrow = Cells ( Rows.Count, 1) . End (xUp). Row For i= finalrow To 6 Step - 3 If Cells (i,1).Value =2005 Or Cells(i, 1) Value =1990 Then tot =tot+Cells(i,5) Else tot = tot + Cells(i, 3).Value End if Next i End Sub 31,025 2,100 12.090 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 Sub GDP0 tot=0 finalrow = Cells ( Rows.Count, 1) . End (xUp). Row For i= finalrow To 6 Step - 3 If Cells (i,1).Value =2005 Or Cells(i, 1) Value =1990 Then tot =tot+Cells(i,5) Else tot = tot + Cells(i, 3).Value End if Next i End Sub 31,025 2,100 12.090

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

Step: 3

blur-text-image

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

Government Audit An Effective Tool For The Anti Corruption Struggle In The New Era Of Chinas Governance

Authors: Bowen Zou, Yanzhe Dr. Zhang, Yang Dr. ZHAO, Jian Dr. Zhang

1st Edition

1844646068, 978-1844646067

More Books

Students also viewed these Accounting questions