VISUAL BASIC for APPLICATIONS TEST

Progress

1.

Private Procedure can be called from anywhere in the project

2.

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

3.

The _______________ control used to insert image to the form

4.

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

5.

_______________ is the function to compare 2 strings.

6.

VBA Code run by

7.

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

8.

___________ indicates whether a particular condition is on or off

9.

The value returned by InputBox is a string

10.

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

11.

32-bit Software/Applications can be installed on:

12.

Suppose you need to develop an online poll of user responses to a question. For convenience, you would like the most popular options to be displayed in a list for the user to quickly select an option and submit their answer. However, you would also like them to be able to use the same control to allow them to specify an write-in value of their own. Which control is most appropriate for this application?

13.

To save a VBA project with an Excel workbook, the workbook must be saved as what type of file?

14.

What data type can hold any type of data?

15.

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

16.

A Combo box is loaded in the From_Initialize event with:

Combo1.AddItem “Red”

Combo1.AddItem “Blue”

Combo1.AddItem “Green”

17.

Basic Excel Object model as follows:

18.

A single Case statement can contain multiple values

19.

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

20.

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

21.

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

22.

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

23.

What is the color of comments?

24.

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

25.

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

26.

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

27.

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

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.

Which character in VBA, indicates start of a comment

30.

Why Macro is used

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