Please enter your details here.
Which of the following statement is not a looping statement in VBA?
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
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
Basic Excel Object model as follows:
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
This control is used for titles/captions
The _______________ control used to insert image to the form
An array that maintains multiple sets of information referenced by more than one index is called ________________
When the form is first referenced in any manner by program,the triggered event is….
___________ statement enables us to trap runtime error.
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?
To force all variables is a VBA project to be declared, which must be stated in a module?
A loop that does not have the way of stopping is called a ___________
Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?
What data type can hold any type of data?
VBA Code run by
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
Which event, runs macros automatically in excel VBA while opening Workbook
___________ control is used to provide an identifiable grouping for other controls
__________ are the attributes of an object that control the object's appearance and behavior.
To break up long lines of code, the line continuation character in VBA is
___________ indicates whether a particular condition is on or off
Which part of VBA window, refers to area where code is written.
Which of the following arithmetic operations has the highest level of precedence?
What is the color of comments?
The value returned by InputBox is a string
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
There can be different data types of an element in an array