Please enter your details here.
Why Macro is used
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?
An object is composed of :
A Combo box is loaded in the From_Initialize event with:
Combo1.AddItem “Red”
Combo1.AddItem “Blue”
Combo1.AddItem “Green”
To force all variables is a VBA project to be declared, which must be stated in a module?
An array that maintains multiple sets of information referenced by more than one index is called ________________
___________ control is used to provide an identifiable grouping for other controls
The value returned by InputBox is a string
___________ statement enables us to trap runtime error.
What will the value of ThisVar be after the following lines of code execute?
Dim ThisVar As String Dim MyName = "John" ThisVar = MyName & "John"
___________ function is used to return a copy of a string without leading spaces.
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 property for a textbox allows the textbox to accept more than 1 line of data entry?
___________ indicates whether a particular condition is on or off
Basic Excel Object model as follows:
What data type can hold any type of data?
Which character in VBA, indicates start of a comment
Which event, runs macros automatically in excel VBA while opening Workbook
The _______________ statement first executes the statements and then tests the condition after each execution
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
What is the color of comments?
Do…Loop... Until code block is always executed once.
Which of the following is default in VBA for data passing?
Which of the following arithmetic operations has the highest level of precedence?
What will be the output of the following statement?
txtBox.Text = FormatCurrency(1234.567)
This control is used for titles/captions
Which part of VBA window, refers to area where code is written.
Which property determines whether a control is displayed to the user?
You have declared 4 variables
Which of these variable declarations is not a valid VBA statement?
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?