Please enter your details here.
Which property determines whether a control is displayed to the user?
A ______________ returns a value to the part of the program that called it.
Why Macro is used
What will the value of ThisVar be after the following lines of code execute?
Dim ThisVar As String Dim MyName = "John" ThisVar = MyName & "John"
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?
Private Procedure can be called from anywhere in the project
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
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
Which event, runs macros automatically in excel VBA while opening Workbook
A loop that does not have the way of stopping is called a ___________
There can be different data types of an element in an array
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
___________ indicates whether a particular condition is on or off
___________ function is used to return a copy of a string without leading spaces.
An array that maintains multiple sets of information referenced by more than one index is called ________________
What property of controls tells the order they receive the focus when the tab key is pressed during run time? it.
The _______________ statement first executes the statements and then tests the condition after each execution
Which character in VBA, indicates start of a comment
___________ control is used to provide an identifiable grouping for other controls
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
What data type can hold any type of data?
What is the color of comments?
A ____________ is a predefined VB procedure that you can call upon when needed.
32-bit Software/Applications can be installed on:
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?
To force all variables is a VBA project to be declared, which must be stated in a module?
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)
Which of the following is default in VBA for data passing?
_______________ is the function to compare 2 strings.