Question: EET 1003 Multiple Choice identify the choice that best completes the statement or answers the question. Questions 18-21, refer to the following VBA program Option
EET 1003 Multiple Choice identify the choice that best completes the statement or answers the question. Questions 18-21, refer to the following VBA program Option Explicit Dim answer As Integer, subb As Integer Dim Num1 As Integer, Num2 As Integer Private Sub AddValue) Num1 22 Num2 11 Range("B2").Value Num1 + Num2 answer= 100 answer answer +1 MsgBox (Range("B2").Value) MsgBox ("value of cell b2 using range syntax is " & Range("b2").Value) Cells (5, 4).Value "hello" MsgBox (answer) End Sub 18. Option Explicit means that All variables are to be declared C. The number of variables cannot exceed 100 d. Constants cannot be used b. All variables are case sensitive What is the content of cell B2 after the program finishes execution? a. 22 19. . 33 d. 2 20. In the above code, Cells(5, 4).Value refers to the value of Excel cell a. D5 b. D4 c. C1 d. C4 What is the value displayed in the last dialog box after the program finishes execution? a. 100 21. C. HELLO d. 101 b. Msg
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
