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. Question 4 of 4 Sub AFD() Tot=0 LastRow = Cells(Rows.Count, 1).End(xIUp).Row LastRow=LastRow1 For i = LastRow To 9 Step 1 If Cells(i, 3).Value = "BELLS" Then Rows(i).Delete Else Tot = Tot + Cells(i, 5).Value End If Next i MsgBox "The final result is " \& Tot, , "2200" End Sub If Cells(i, 3).Value = "BELLS" Then Rows(i).Delete Else Tot=Tot+Cells(i,5).Value End If Next i MsgBox "The final result is " \& Tot,, " 2200" End Sub 14 15 The program is incorrect - will not run 12 13

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

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions

Question

1. Who is responsible for resolving this dilemma?

Answered: 1 week ago