Please enter your details here.
Which part of VBA window, refers to area where code is written.
This control is used for titles/captions
When the form is first referenced in any manner by program,the triggered event is….
What property of controls tells the order they receive the focus when the tab key is pressed during run time? it.
The _______________ control used to insert image to the form
Which event, runs macros automatically in excel VBA while opening Workbook
Private Procedure can be called from anywhere in the project
Which of the following is default in VBA for data passing?
There can be different data types of an element in an array
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
End Sub
Private Sub ShowAge()
Dim UserAge As Integer
UserAge = 0
MsgBox (UserAge)
A ______________ returns a value to the part of the program that called it.
Which character in VBA, indicates start of a comment
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
___________ control is used to provide an identifiable grouping for other controls
___________ indicates whether a particular condition is on or off
Do…Loop... Until code block is always executed once.
To break up long lines of code, the line continuation character in VBA is
To close a form named Form1, you can use:
A ____________ is a predefined VB procedure that you can call upon when needed.
Which Case clause will be true whenever the value of the selector in a Select Case block is between 1 and 5 or is 8?
Why Macro is used
A loop that does not have the way of stopping is called a ___________
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
_______________ is the function to compare 2 strings.
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?
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)?
You have declared 4 variables
Which of these variable declarations is not a valid VBA statement?
___________ function is used to return a copy of a string without leading spaces.
__________ are the attributes of an object that control the object's appearance and behavior.