Please enter your details here.
Which property determines whether a control is displayed to the user?
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
What data type can hold any type of data?
Which of the following statements is not true about user-defined functions?
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 Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
Which part of VBA window, refers to area where code is written.
Basic Excel Object model as follows:
Private Procedure can be called from anywhere in the project
Which of the following is default in VBA for data passing?
An object is composed of :
To load graphics on a control at runtime, we have to use the function….
A ______________ returns a value to the part of the program that called it.
A ____________ is a predefined VB procedure that you can call upon when needed.
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 is the color of comments?
To break up long lines of code, the line continuation character in VBA is
Do…Loop... Until code block is always executed once.
___________ statement enables us to trap runtime error.
Which of the following arithmetic operations has the highest level of precedence?
Which of the following statement is not a looping statement in VBA?
There can be different data types of an element in an array
Which event, runs macros automatically in excel VBA while opening Workbook
What will the value of ThisVar be after the following lines of code execute?
Dim ThisVar As String Dim MyName = "John" ThisVar = MyName & "John"
The _______________ statement first executes the statements and then tests the condition after each execution
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
___________ indicates whether a particular condition is on or off
__________ are the attributes of an object that control the object's appearance and behavior.
_______________ is the function to compare 2 strings.
What value is stored in a variable of type single if we try to assign the variable to the value 634?