Please enter your details here.
Which of the following statements is not true about user-defined functions?
What will the value of ThisVar be after the following lines of code execute?
Dim ThisVar As String Dim MyName = "John" ThisVar = MyName & "John"
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?
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
To break up long lines of code, the line continuation character in VBA is
To load graphics on a control at runtime, we have to use the function….
Which event, runs macros automatically in excel VBA while opening Workbook
The _______________ statement first executes the statements and then tests the condition after each execution
32-bit Software/Applications can be installed on:
Why Macro is used
An array that maintains multiple sets of information referenced by more than one index is called ________________
There can be different data types of an element in an array
A ____________ is a predefined VB procedure that you can call upon when needed.
Which of the following arithmetic operations has the highest level of precedence?
__________ are the attributes of an object that control the object's appearance and behavior.
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
What is the color of comments?
An object is composed of :
A single Case statement can contain multiple values
You have declared 4 variables
Which of these variable declarations is not a valid VBA statement?
___________ indicates whether a particular condition is on or off
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
Which part of VBA window, refers to area where code is written.
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?
What do you need to select to set the developer mode?
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
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
A loop that does not have the way of stopping is called a ___________
The value returned by InputBox is a string
What value is stored in a variable of type single if we try to assign the variable to the value 634?