Please enter your details here.
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
_______________ is the function to compare 2 strings.
Private Procedure can be called from anywhere in the project
To break up long lines of code, the line continuation character in VBA is
32-bit Software/Applications can be installed on:
Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?
Basic Excel Object model as follows:
The _______________ control used to insert image to the form
A ______________ returns a value to the part of the program that called it.
A ____________ is a predefined VB procedure that you can call upon when needed.
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
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)
To force all variables is a VBA project to be declared, which must be stated in a module?
What is the color of comments?
__________ are the attributes of an object that control the object's appearance and behavior.
What do you need to select to set the developer mode?
VBA Code run by
An array that maintains multiple sets of information referenced by more than one index is called ________________
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
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
There can be different data types of an element in an array
What data type can hold any type of data?
___________ indicates whether a particular condition is on or off
Which windows displays a list of all forms and modules making up your application.
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?
___________ statement enables us to trap runtime error.
___________ control is used to provide an identifiable grouping for other controls
Which of the following statements is not true about user-defined functions?
Which part of VBA window, refers to area where code is written.
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