Please enter your details here.
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
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
Which of the following statement is not a looping statement in VBA?
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
___________ control is used to provide an identifiable grouping for other controls
Which of the following statements is not true about user-defined functions?
VBA Code run by
Which character in VBA, indicates start of a comment
32-bit Software/Applications can be installed on:
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
Why Macro is used
To break up long lines of code, the line continuation character in VBA is
___________ function is used to return a copy of a string without leading spaces.
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
A loop that does not have the way of stopping is called a ___________
This control is used for titles/captions
To close a form named Form1, you can use:
Which of the following is default in VBA for data passing?
The _______________ statement first executes the statements and then tests the condition after each execution
Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?
An array that maintains multiple sets of information referenced by more than one index is called ________________
A single Case statement can contain multiple values
What data type can hold any type of data?
What is the color of comments?
Private Procedure can be called from anywhere in the project
The value returned by InputBox is a string
Suppose you need to develop an online poll of user responses to a question. For convenience, you would like the most popular options to be displayed in a list for the user to quickly select an option and submit their answer. However, you would also like them to be able to use the same control to allow them to specify an write-in value of their own. Which control is most appropriate for this application?
Basic Excel Object model as follows: