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 amy cells with numbers are formatted numeric. Sub AFDO tot=0 LastRow = Cells(Rows.Count, 1). End (xUp), Row For i= LastRow To 5 Step 3 If Cells(i, 1). Value =7 Or Cells(i, 2) Value =10 Then tottot+Cells(1,5) Else tot=tot+Celis(1,4) End If Next | MsgBox "The firal result is " 6 tot. " 2200 End Sub 10000 24010 15020 25030 15024
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
