Please enter your details here.
This control is used for titles/captions
There can be different data types of an element in an array
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?
Which property determines whether a control is displayed to the user?
___________ function is used to return a copy of a string without leading spaces.
Which of the following arithmetic operations has the highest level of precedence?
Private Procedure can be called from anywhere in the project
The _______________ statement first executes the statements and then tests the condition after each execution
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
Which character in VBA, indicates start of a comment
_______________ is the function to compare 2 strings.
Basic Excel Object model as follows:
What data type can hold any type of data?
To break up long lines of code, the line continuation character in VBA is
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
To force all variables is a VBA project to be declared, which must be stated in a module?
Which part of VBA window, refers to area where code is written.
An object is composed of :
A ______________ returns a value to the part of the program that called it.
A loop that does not have the way of stopping is called a ___________
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?
To close a form named Form1, you can use:
Which of the following is default in VBA for data passing?
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
___________ indicates whether a particular condition is on or off
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
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
Which of the following statement is not a looping statement in VBA?
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