Please enter your details here.
An object is composed of :
Which of the following is default in VBA for data passing?
___________ function is used to return a copy of a string without leading spaces.
The _______________ statement first executes the statements and then tests the condition after each execution
Which event, runs macros automatically in excel VBA while opening Workbook
Which of the following statement is not a looping statement in VBA?
_______________ is the function to compare 2 strings.
To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?
A ______________ returns a value to the part of the program that called it.
A loop that does not have the way of stopping is called a ___________
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
Do…Loop... Until code block is always executed once.
VBA Code run by
A single Case statement can contain multiple values
Which property for a textbox allows the textbox to accept more than 1 line of data entry?
There can be different data types of an element in an array
___________ control is used to provide an identifiable grouping for other controls
Which windows displays a list of all forms and modules making up your application.
What is the color of comments?
Which of the following statements is not true about user-defined functions?
A ____________ is a predefined VB procedure that you can call upon when needed.
___________ statement enables us to trap runtime error.
What do you need to select to set the developer mode?
To break up long lines of code, the line continuation character in VBA is
What data type can hold any type of data?
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
Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?
Basic Excel Object model as follows:
To load graphics on a control at runtime, we have to use the function….
Which character in VBA, indicates start of a comment