Please enter your details here.
What property of controls tells the order they receive the focus when the tab key is pressed during run time? it.
A loop that does not have the way of stopping is called a ___________
Do…Loop... Until code block is always executed once.
Why Macro is used
_______________ is the function to compare 2 strings.
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
Which of the following arithmetic operations has the highest level of precedence?
You have declared 4 variables
Which of these variable declarations is not a valid VBA statement?
A ____________ is a predefined VB procedure that you can call upon when needed.
This control is used for titles/captions
Which of the following statements is not true about user-defined functions?
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
What value is stored in a variable of type single if we try to assign the variable to the value 634?
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
___________ function is used to return a copy of a string without leading spaces.
Which part of VBA window, refers to area where code is written.
To load graphics on a control at runtime, we have to use the function….
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 _______________ control used to insert image to the form
When the form is first referenced in any manner by program,the triggered event is….
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
___________ control is used to provide an identifiable grouping for other controls
To break up long lines of code, the line continuation character in VBA is
Which property determines whether a control is displayed to the user?
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
What is the color of comments?
___________ statement enables us to trap runtime error.
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
An object is composed of :
Which of the following is default in VBA for data passing?