Please enter your details here.
What value is stored in a variable of type single if we try to assign the variable to the value 634?
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)
The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used
Which of the following statements is not true about user-defined functions?
What is the color of comments?
This control is used for titles/captions
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
Which part of VBA window, refers to area where code is written.
_______________ is the function to compare 2 strings.
The _______________ control used to insert image to the form
To break up long lines of code, the line continuation character in VBA is
When the form is first referenced in any manner by program,the triggered event is….
To load graphics on a control at runtime, we have to use the function….
Private Procedure can be called from anywhere in the project
An object is composed of :
The value returned by InputBox is a string
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?
What do you need to select to set the developer mode?
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
Which event, runs macros automatically in excel VBA while opening Workbook
To close a form named Form1, you can use:
Which of the following arithmetic operations has the highest level of precedence?
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
There can be different data types of an element in an array
__________ are the attributes of an object that control the object's appearance and behavior.
A ______________ returns a value to the part of the program that called it.
Why Macro is used
___________ indicates whether a particular condition is on or off
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?