VISUAL BASIC for APPLICATIONS TEST

Progress

1.

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

2.

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

3.

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

4.

Which character in VBA, indicates start of a comment

5.

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

6.

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

7.

32-bit Software/Applications can be installed on:

8.

What do you need to select to set the developer mode?

9.

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

10.

___________ indicates whether a particular condition is on or off

11.

Why Macro is used

12.

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

13.

The _______________ control used to insert image to the form

14.

Which windows displays a list of all forms and modules making up your application.

15.

A single Case statement can contain multiple values

16.

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

17.

_______________ is the function to compare 2 strings.

18.

Which of the following statements is not true about user-defined functions?

19.

___________ function is used to return a copy of a string without leading spaces.

20.

An object is composed of :

21.

Suppose you are designing an application for admissions to a college or university, and you need to decide how to provide the user with a selection of racial backgrounds. Which control would be most appropriate?

22.

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?

23.

___________ statement enables us to trap runtime error.

24.

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

25.

Which of the following arithmetic operations has the highest level of precedence?

26.

What property of controls tells the order they receive the focus when the tab key is pressed during run time? it.

27.

VBA Code run by

28.

What is the color of comments?

29.

To break up long lines of code, the line continuation character in VBA is

30.

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

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