Please enter your details here.
Which of the following is default in VBA for data passing?
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?
___________ statement enables us to trap runtime error.
To load graphics on a control at runtime, we have to use the function….
_______________ is the function to compare 2 strings.
What do you need to select to set the developer mode?
Which part of VBA window, refers to area where code is written.
___________ function is used to return a copy of a string without leading spaces.
Which of the following statements is not true about user-defined functions?
A loop that does not have the way of stopping is called a ___________
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
VBA Code run by
Basic Excel Object model as follows:
The value returned by InputBox is a string
An array that maintains multiple sets of information referenced by more than one index is called ________________
Which windows displays a list of all forms and modules making up your application.
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
What will the value of ThisVar be after the following lines of code execute?
Dim ThisVar As String Dim MyName = "John" ThisVar = MyName & "John"
A single Case statement can contain multiple values
The _______________ control used to insert image to the form
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)
This control is used for titles/captions
___________ indicates whether a particular condition is on or off
What value is stored in a variable of type single if we try to assign the variable to the value 634?
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
Suppose you need to develop an online poll of user responses to a question. For convenience, you would like the most popular options to be displayed in a list for the user to quickly select an option and submit their answer. However, you would also like them to be able to use the same control to allow them to specify an write-in value of their own. Which control is most appropriate for this application?
Which of the following statement is not a looping statement in VBA?
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?
An object is composed of :
You have declared 4 variables
Which of these variable declarations is not a valid VBA statement?