Please enter your details here.
What will be the output of the following code?
Sub LoopExample()
Dim StartNumber As Integer
Dim EndNumber As Integer
Dim Answer As Integer
Answer = 5
EndNumber = 5
For StartNumber = 1 To EndNumber
Answer = Answer + EndNumber
Next StartNumber
MsgBox Answer
End Sub
This control is used for titles/captions
32-bit Software/Applications can be installed on:
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
Which of the following is default in VBA for data passing?
A ____________ is a predefined VB procedure that you can call upon when needed.
What is the color of comments?
There can be different data types of an element in an array
A loop that does not have the way of stopping is called a ___________
To close a form named Form1, you can use:
Which part of VBA window, refers to area where code is written.
Given the following section of code, if a programmer called the GetAge() subroutine, what value would the message box display?
Private Sub GetAge()
Dim UserAge As String
UserAge = 10
UserAge = InputBox("Enter your age", "Get Age")
Call ShowAge
Private Sub ShowAge()
Dim UserAge As Integer
UserAge = 0
MsgBox (UserAge)
Which of the following statements is not true about user-defined functions?
The _______________ statement first executes the statements and then tests the condition after each execution
Suppose you are designing an application for admissions to a college or university, and you need to decide how to provide the user with a selection of racial backgrounds. Which control would be most appropriate?
Private Procedure can be called from anywhere in the project
A single Case statement can contain multiple values
An array that maintains multiple sets of information referenced by more than one index is called ________________
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
When the form is first referenced in any manner by program,the triggered event is….
Basic Excel Object model as follows:
VBA Code run by
Which property determines whether a control is displayed to the user?
Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?
A ______________ returns a value to the part of the program that called it.
Which windows displays a list of all forms and modules making up your application.
_______________ is the function to compare 2 strings.
Why Macro is used
To break up long lines of code, the line continuation character in VBA is
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used