Please enter your details here.
A single Case statement can contain multiple values
___________ statement enables us to trap runtime error.
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
The _______________ statement first executes the statements and then tests the condition after each execution
To close a form named Form1, you can use:
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
A loop that does not have the way of stopping is called a ___________
Why Macro is used
To break up long lines of code, the line continuation character in VBA is
_______________ is the function to compare 2 strings.
VBA Code run by
Private Procedure can be called from anywhere in the project
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
___________ indicates whether a particular condition is on or off
A ____________ is a predefined VB procedure that you can call upon when needed.
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 part of VBA window, refers to area where code is written.
Which of the following is default in VBA for data passing?
The value returned by InputBox is a string
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
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?
___________ control is used to provide an identifiable grouping for other controls
___________ function is used to return a copy of a string without leading spaces.
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
An object is composed of :
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
Basic Excel Object model as follows:
What will the value of ThisVar be after the following lines of code execute?
Dim ThisVar As String Dim MyName = "John" ThisVar = MyName & "John"
Do…Loop... Until code block is always executed once.
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used