Please enter your details here.
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?
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
___________ statement enables us to trap runtime error.
To force all variables is a VBA project to be declared, which must be stated in a module?
An object is composed of :
Which part of VBA window, refers to area where code is written.
Why Macro is used
__________ are the attributes of an object that control the object's appearance and behavior.
A ____________ is a predefined VB procedure that you can call upon when needed.
Private Procedure can be called from anywhere in the project
What is the color of comments?
An array that maintains multiple sets of information referenced by more than one index is called ________________
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
VBA Code run by
The _______________ control used to insert image to the form
___________ indicates whether a particular condition is on or off
Which character in VBA, indicates start of a comment
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
To load graphics on a control at runtime, we have to use the function….
A loop that does not have the way of stopping is called a ___________
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 event, runs macros automatically in excel VBA while opening Workbook
Basic Excel Object model as follows:
To close a form named Form1, you can use:
What data type can hold any type of data?
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
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
_______________ is the function to compare 2 strings.
Which property determines whether a control is displayed to the user?