VISUAL BASIC for APPLICATIONS TEST

Progress

1.

The value returned by InputBox is a string

2.

What value is stored in a variable of type single if we try to assign the variable to the value 634?

3.

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

4.

___________ statement enables us to trap runtime error.

5.

To force all variables is a VBA project to be declared, which must be stated in a module?

6.

An object is composed of :

7.

Which part of VBA window, refers to area where code is written.

8.

Why Macro is used

9.

__________ are the attributes of an object that control the object's appearance and behavior.

10.

A ____________ is a predefined VB procedure that you can call upon when needed.

11.

Private Procedure can be called from anywhere in the project

12.

What is the color of comments?

13.

An array that maintains multiple sets of information referenced by more than one index is called ________________

14.

Study the screenshot below. What is the appropriate action to take when a workbook displays this message (Security Warning Macros have been disabled)?

15.

VBA Code run by

16.

The _______________ control used to insert image to the form

17.

___________ indicates whether a particular condition is on or off

18.

Which character in VBA, indicates start of a comment

19.

The Properties window plays an important role in the development of Visual Basic Applications. It is mainly used

20.

To load graphics on a control at runtime, we have to use the function….

21.

A loop that does not have the way of stopping is called a ___________

22.

What will the value of ThisVar be after the following lines of code execute? 

Dim ThisVar As String 
Dim MyName = "John" 
ThisVar = MyName & "John"


 

23.

Which event, runs macros automatically in excel VBA while opening Workbook

24.

Basic Excel Object model as follows:

25.

To close a form named Form1, you can use:

26.

What data type can hold any type of data?

27.

This operator reverses the truth value of an expression; making a true expression false and a false expression true.

28.

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

29.

_______________ is the function to compare 2 strings.

30.

Which property determines whether a control is displayed to the user?

Assessment complete! Thank you for you time.
We are redirecting you to the result page, Please click on 'SUBMIT'