Please enter your details here.
Which of the following statement is not a looping statement in VBA?
Basic Excel Object model as follows:
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
Do…Loop... Until code block is always executed once.
Which of the following arithmetic operations has the highest level of precedence?
To force all variables is a VBA project to be declared, which must be stated in a module?
What do you need to select to set the developer mode?
___________ control is used to provide an identifiable grouping for other controls
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
This control is used for titles/captions
There can be different data types of an element in an array
To load graphics on a control at runtime, we have to use the function….
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 property for a textbox allows the textbox to accept more than 1 line of data entry?
___________ indicates whether a particular condition is on or off
To break up long lines of code, the line continuation character in VBA is
When the block of code finishes the execution, what will the final value of X be?
Public Sub Example ()
Dim Y As Integer
Dim X As Integer
X = 0
Y = 10
For Count = Y To 1 Step -2
X = X + Y
If Y = (Y = 1) Then
Exit For
End If
Next Count
X = X / X
MsgBox X
End Sub
The value returned by InputBox is a string
What data type can hold any type of data?
Which of the following is default in VBA for data passing?
The _______________ statement first executes the statements and then tests the condition after each execution
The _______________ control used to insert image to the form
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
Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?
An object is composed of :
A ______________ returns a value to the part of the program that called it.
Which windows displays a list of all forms and modules making up your application.
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
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