VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

Suppose the variable myName is declared in a Dim statement in two different Sub procedures. Which statement is true?

3.

VBA Code run by

4.

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

5.

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

6.

Which property for a textbox allows the textbox to accept more than 1 line of data entry?

7.

An object is composed of :

8.

The _______________ control used to insert image to the form

9.

There can be different data types of an element in an array

10.

To close a form named Form1, you can use:

11.

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

12.

Which of the following statement is not a looping statement in VBA?

13.

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

14.

The value returned by InputBox is a string

15.

Basic Excel Object model as follows:

16.

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

17.

___________ control is used to provide an identifiable grouping for other controls

18.

This control is used for titles/captions

19.

What will be the output of the following statement?

txtBox.Text = FormatCurrency(1234.567)

20.

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

21.

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

22.

Which of the following is default in VBA for data passing?

23.

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

24.

The _______________ statement first executes the statements and then tests the condition after each execution

25.

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?

26.

Private Procedure can be called from anywhere in the project

27.

A ______________ returns a value to the part of the program that called it.

28.

Do…Loop... Until code block is always executed once.

29.

32-bit Software/Applications can be installed on:

30.

What is the color of comments?

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