Please enter your details here.
Which of the following statement is not a looping statement in VBA?
A single Case statement can contain multiple values
__________ are the attributes of an object that control the object's appearance and behavior.
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
Basic Excel Object model as follows:
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
End Sub
Private Sub ShowAge()
Dim UserAge As Integer
UserAge = 0
MsgBox (UserAge)
_______________ is the function to compare 2 strings.
What data type can hold any type of data?
___________ indicates whether a particular condition is on or off
A ______________ returns a value to the part of the program that called it.
Given that x = 7, y = 2, and z = 4, the following If block will display “TRUE”. If (x > y) Or (y > z) Then txtBox.Text = “TRUE” End If
What is the color of comments?
Which property determines whether a control is displayed to the user?
A loop that does not have the way of stopping is called a ___________
There can be different data types of an element in an array
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?
The _______________ control used to insert image to the form
What value is stored in a variable of type single if we try to assign the variable to the value 634?
Which of the following is default in VBA for data passing?
A ____________ is a predefined VB procedure that you can call upon when needed.
___________ statement enables us to trap runtime error.
Which of the following arithmetic operations has the highest level of precedence?
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
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
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
Which Case clause will be true whenever the value of the selector in a Select Case block is between 1 and 5 or is 8?
Which of the following statements is not true about user-defined functions?
32-bit Software/Applications can be installed on:
What do you need to select to set the developer mode?