Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

VBA Coding Questions and Answers, Quizzes of Accounting

A series of 12 multiple choice questions related to vba coding, along with the correct answers. The questions cover various topics such as hiding vba modules, declaring variables, array indexing, collections, and error handling.

Typology: Quizzes

Pre 2010

Uploaded on 09/15/2008

negs44
negs44 🇺🇸

2 documents

1 / 3

Toggle sidebar

Related documents


Partial preview of the text

Download VBA Coding Questions and Answers and more Quizzes Accounting in PDF only on Docsity! Question 1 0.5 out of 0.5 points In order to keep users from changing VBA code, the developer may ____. Selected Answer: hide the VBA modules and require a password to open them Questi on 2 0.5 out of 0.5 points To be able to assign various worksheet cell references to a variable, declare the variable as a ____ variable type. Selected Answer: Range Questi on 3 0.5 out of 0.5 points When an element of an array is accessed using VBA code, the number that appears inside a set of parentheses after the array name represents ____. Selected Answer: the index or position of the item in the array Questi on 4 0.5 out of 0.5 points An example of a collection in VBA is a ____. Selected Answer: set of worksheets Questi on 5 0.5 out of 0.5 points When adding items to an array using VBA code, the number that appears in a set of parentheses after the array name represents ____. Selected Answer: the logical position in the array to which the value is assigned Questi on 6 0.5 out of 0.5 points When using VBA to process every cell in a two-dimensional worksheet range, ____ would be useful. Selected Answer: nested loops Questi on 7 0.5 out of 0.5 points In an array declaration in VBA, the number that appears inside a set of parentheses after the array name represents the array’s ____. Selected Answer: size Questi on 8 0.5 out of 0.5 points In the following VBA instruction: ActiveCell.FormulaR1C1 = “=Average(RC[- 1]:RC[-4])”, the cell reference is ____. Selected Answer: relative Questi on 9 0.5 out of 0.5 points The object “Cells” is a ____ object. Selected Answer: Collection Questio n 10 0.5 out of 0.5 points To prevent specific error-handling routines from executing when the specific error is not encountered, locate the error-handling routine at the end of the procedure and ____. Selected Answer: precede it with the instruction Exit Sub Questio n 11 0.5 out of 0.5 points