Please enter your details here.
Which windows displays a list of all forms and modules making up your application.
A loop that does not have the way of stopping is called a ___________
To load graphics on a control at runtime, we have to use the function….
___________ indicates whether a particular condition is on or off
What property of controls tells the order they receive the focus when the tab key is pressed during run time? it.
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
Which property determines whether a control is displayed to the user?
The _______________ control used to insert image to the form
Why Macro is used
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
___________ control is used to provide an identifiable grouping for other controls
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 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
Which of the following arithmetic operations has the highest level of precedence?
Given the following section of code, if a programmer called the GetAge() subroutine, what value would the message box display?
Private Sub GetAge()
Dim UserAge As String
UserAge = 10
UserAge = InputBox("Enter your age", "Get Age")
Call ShowAge
Private Sub ShowAge()
Dim UserAge As Integer
UserAge = 0
MsgBox (UserAge)
___________ function is used to return a copy of a string without leading spaces.
This operator reverses the truth value of an expression; making a true expression false and a false expression true.
To close a form named Form1, you can use:
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
This control is used for titles/captions
What value is stored in a variable of type single if we try to assign the variable to the value 634?
What do you need to select to set the developer mode?
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
Which of the following statements is not true about user-defined functions?
Which character in VBA, indicates start of a comment
To break up long lines of code, the line continuation character in VBA is
Which event, runs macros automatically in excel VBA while opening Workbook
What data type can hold any type of data?
VBA Code run by