VISUAL BASIC for APPLICATIONS TEST

Progress

1.

Private Procedure can be called from anywhere in the project

2.

Which character in VBA, indicates start of a comment

3.

You have declared 4 variables

 Which of these variable declarations is not a valid VBA statement?

4.

What data type can hold any type of data?

5.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

6.

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

7.

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

8.

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

9.

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

10.

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

11.

The value returned by InputBox is a string

12.

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

13.

___________ statement enables us to trap runtime error.

14.

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

15.

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

16.

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

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


 

17.

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

18.

When the form is first referenced in any manner by program,the triggered event is….

19.

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

20.

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

21.

Basic Excel Object model as follows:

22.

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

23.

VBA Code run by

24.

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?

25.

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?

26.

A single Case statement can contain multiple values

27.

The _______________ control used to insert image to the form

28.

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

29.

_______________ is the function to compare 2 strings.

30.

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

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