Please enter your details here.
To load graphics on a control at runtime, we have to use the function….
___________ statement enables us to trap runtime error.
_______________ is the function to compare 2 strings.
An array that maintains multiple sets of information referenced by more than one index is called ________________
Which of the following arithmetic operations has the highest level of precedence?
The value returned by InputBox is a string
You have declared 4 variables
Which of these variable declarations is not a valid VBA statement?
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?
There can be different data types of an element in an array
To close a form named Form1, you can use:
Basic Excel Object model as follows:
Which of the following is default in VBA for data passing?
___________ control is used to provide an identifiable grouping for other controls
What value is stored in a variable of type single if we try to assign the variable to the value 634?
What is the color of comments?
To force all variables is a VBA project to be declared, which must be stated in a module?
__________ are the attributes of an object that control the object's appearance and behavior.
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
___________ indicates whether a particular condition is on or off
Which is the conversion for the following If...Then...ElseIf statement to a Select...Case statement?
If intValue > 0 And intValue <= 9 Then
discount = .10
Else If intValue >9 And intValue <=20
discount = .15
Else
discount = .20
An object is composed of :
Which property determines whether a control is displayed to the user?
To break up long lines of code, the line continuation character in VBA is
Which event, runs macros automatically in excel VBA while opening Workbook
A single Case statement can contain multiple values
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
Private Procedure can be called from anywhere in the project
The _______________ statement first executes the statements and then tests the condition after each execution
Do…Loop... Until code block is always executed once.
Which part of VBA window, refers to area where code is written.