Deck 22: Programming in Excel With VBA

Full screen (f)
exit full mode
Question
Which of the following does a VBA macro manipulate?

A)A constant
B)A variable
C)An object
D)A sub macro
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following tools enables users to view and edit a VBA macro?

A)Web authoring software
B)Visual Basic Editor
C)Query-by-example tool
D)Visual Basic Analyzer
Question
Which of the following is a component of a macro that performs some action on or with objects?

A)A Function procedure
B)A Sub procedure
C)A visual procedure
D)A Sub macro
Question
Which of the following statements is true about a macro in Excel?

A)It is used to access the functions available in Excel.
B)It is used to convert an Excel worksheet into a PDF document.
C)It is used to scramble the contents of an Excel worksheet so that it can't be read without the right key.
D)It is used to automate a series of Excel steps and to set up buttons and dialog boxes.
Question
Which of the following Excel tools allows you to record a sequence of commands in Excel and save them?

A)The key logger tool
B)The query-by-example tool
C)A Sub procedure
D)The macro recorder
Question
VBA is:

A)a programming language developed by Microsoft to extend and customize Excel.
B)a graphical user interface that allows a novice Excel user to build complex worksheets.
C)a programming environment built by a non-profit group of programmers that can be used with Excel.
D)a programming environment developed by Microsoft that can be used instead of Excel and Access for complex applications.
Question
Which of the following is a built-in function in Excel and does not require a macro?

A)Inserting a company name on all spreadsheets
B)Creating a custom toolbar button
C)Performing a specific calculation on multiple workbooks
D)Computing Sum and Average
Question
Which of the following Excel tools allows you to automate the building and running of complex calculations that are not included in the standard set of Excel functions?

A)Function builder
B)Query-by-example tool
C)Wizard
D)VBA
Question
Which of the following is a set of Excel actions recorded or written by a user?

A)A macro
B)A hyperlink
C)A botnet
D)A rootkit
Question
Which of the following VBA macros can be used in a worksheet formula?

A)An integrity constraint
B)An Object procedure
C)A primary key
D)A Function procedure
Question
Which of the following refers to a place used to store a piece of information in Excel?

A)A cell
B)A variable
C)A macro
D)A field
Question
Units of VBA code are often referred to as ____.

A)subroutines
B)routines
C)macros
D)programs
Question
Mr.Joseph is the CEO of a leading manufacturing concern.He wanted his name and designation to appear in italics on all the spreadsheets of the company's annual report.Which of the following Excel action should he use to achieve this?

A)A wizard
B)A rootkit
C)A macro
D)A botnet
Question
Which of the following is a programming language that includes build-in commands that mimic the functionality available from menus and dialog boxes within an application?

A)Binary code
B)Object-oriented programming language
C)Macro language
D)HyperText Markup Language
Question
Dan was making a science project.He wanted to automate the two steps of adding a background theme to the cells and then printing the worksheet.Which of the following Excel actions can help Dan achieve this?

A)A system program
B)A macro
C)A hyperlink
D)An auto function
Question
A(n)_____ in VBA is an item available for you to control in your code.

A)constant
B)object
C)sub macro
D)variable
Question
Which of the following is true about Function procedures?

A)Function procedures return a single value.
B)The end of a Function procedure is marked by the keyword End Sub.
C)The macro recorder can produce Function procedures.
D)Function procedures refer to one or more information statements that you provide to VBA.
Question
When working on a worksheet,Ben was editing his macros using the Visual Basic Editor (VBE).After a while he wanted to go back to the Excel application interface.Which of the following key(s)should Ben use to toggle between the Excel application interface and the VBE?

A)Ctrl+F9
B)Ctrl+V
C)Alt+F11
D)Alt+V
Question
Which of the following is a VBA macro that returns a single value?

A)A Sub procedure
B)A Function procedure
C)An Object procedure
D)A Sub Macro
Question
Which of the following keys will you press to activate the VBE when Excel is active?

A)Ctrl+F9
B)Ctrl+V
C)Alt+F11
D)Alt+V
Question
Which of the following key(s)will display the Project Explorer window if it is not visible on the VBE Program Window?

A)Ctrl+F11
B)Ctrl+W
C)Alt+W
D)Ctrl+R
Question
Which of the following VBA windows will you use to debug your VBA code?

A)The Project Explorer Window
B)The Code Window
C)The Properties Window
D)The Immediate Window
Question
Which of the following is true about the Immediate window?

A)It shows you the properties that can be changed for the currently active object in the Project Explorer window.
B)It displays a tree diagram that consists of every workbook currently open in Excel.
C)It can be displayed by pressing Ctrl + R.
D)It is most useful for executing VBA statements directly.
Question
Which of the following elements of VBA programming may change during the execution of a procedure?

A)A constant
B)A variable
C)A comment
D)A macro
Question
Excel and VBA can work with both numbers and text.Text is often referred to as ____.

A)a variable
B)an object
C)a string
D)a subroutine
Question
Which of the following data type uses 2 bytes and whose range of values is true or false?

A)Boolean
B)Integer
C)Double (negative)
D)Double (positive)
Question
Sub procedures start with the keyword Sub followed by the name of the procedure and opening and closing:

A)double quotes.
B)parentheses.
C)single quotes.
D)guillemets.
Question
Which of the following would be considered a named element whose value would not change during the execution of a procedure?

A)A variable
B)A constant
C)A comment
D)A macro
Question
When entering code directly into a module,which key should be used to indent some of the lines to make the code easier to read?

A)Tab
B)Shift
C)Ctrl
D)Alt
Question
Which of the following VBA windows shows every workbook that is currently open in Excel?

A)The Project Explorer Window
B)The Code Window
C)The Properties Window
D)The Immediate Window
Question
When you record a macro,Excel automatically inserts a VBA _____ to hold the recorded code.

A)constant
B)object
C)module
D)variable
Question
While entering a VBA code directly,to continue a single line of code from one line to the next,end the first line with:

A)a space followed by an equal sign.
B)a continue Sub statement.
C)a space followed by an underscore.
D)a space followed by a double quote.
Question
With which of the following would you begin a comment line?

A)A single quote
B)A double quote
C)An underscore
D)An equal sign
Question
Which of the following data type uses 1 byte per character and whose range of values varies?

A)Boolean
B)String
C)Integer
D)Currency
Question
Which of the following key(s)will display the Immediate Window if it is not visible on the VBE Program Window?

A)Ctrl+W
B)Ctrl+G
C)Alt+W
D)Ctrl+I
Question
What type of strings theoretically can hold as many as 2 billion characters?

A)Recurring-length strings
B)Definite-length strings
C)Fixed-length strings
D)Variable-length strings
Question
Which of the following is the simplest type of VBA statement?

A)A macro
B)A For-Next loop
C)An assignment
D)A comment
Question
Which of the following options would describe the process of creating variables simply by using them?

A)Definite variable declaration
B)Implicit variable declaration
C)Explicit variable declaration
D)Composite variable declaration
Question
Which of the following statements is true of a user defined function?

A)It can be written when the function needed is already in Excel.
B)It can increase the complexity of a worksheet.
C)It can increase productivity.
D)It can be recorded in a macro recorder.
Question
Which of the following is true about the Project Explorer window?

A)It is most useful for executing VBA statements directly.
B)It contains VBA code.
C)It displays a tree diagram that consists of every workbook currently open in Excel.
D)It shows you the properties that can be changed for the currently active object in the Project Explorer window.
Question
Which of the following is the simplest type of looping statement?

A)Do-While
B)Do-Else
C)Do-Until
D)For-Next
Question
In VBA,dates and times are placed between two:

A)~ symbols.
B)# symbols.
C)* symbols.
D)" symbols.
Question
Which of the following terms refers to repeating a block of statements or code numerous times?

A)Redacting
B)Linking
C)Looping
D)Concatenating
Question
Which of the following describes the process of defining the names of all the variables you are going to use,before you use them in your code?

A)Definite variable declaration
B)Precision variable declaration
C)Explicit variable declaration
D)Implicit variable declaration
Question
In VBA,which of the following logical operators performs the function of exclusion on two expressions?

A)And
B)Eqv
C)XoR
D)Imp
Question
Which of the following statements is VBA's most important control structure?

A)For-Next
B)If-Then
C)Do-Until
D)Do-While
Question
In which of the following VBA structures,a macro continues to execute the loop until a specified condition is met?

A)For-Next loop
B)If-Then loop
C)Do-While loop
D)Do-Next loop
Question
Which of the following VBA structures is recommended in a decision involving three or more options?

A)If-Then
B)Select-Case
C)Looping
D)Do-While
Question
Which of the following operators has the highest precedence in VBA?

A)Division
B)Addition
C)Multiplication
D)Exponentiation
Question
When you want to execute one or more statements conditionally,what VBA structure would you use?

A)If-Then
B)Do-While
C)For-Next
D)Do-Until
Question
In VBA,which of the following logical operators performs the function of conjunction on two expressions?

A)And
B)Eqv
C)XoR
D)Imp
Question
Which of the following is a VBA statement that allocates the result of an expression to a variable or an object?

A)A Dim statement
B)A function statement
C)An assignment statement
D)A detail statement
Question
Which of the following is used to declare an explicit variable with VBA code?

A)A Dim statement
B)A comment
C)An assignment statement
D)A string
Question
Which of the following is true about the way a macro works?

A)It skips over some statements as it executes the code
B)It executes some statements multiple times
C)It tests conditions to determine what the procedure does next
D)It starts at the code's beginning and progresses line by line to the end
Question
Which VBA loop structure is controlled by a counter variable,which starts at one value and stops at another value?

A)For-Next
B)Do-Until
C)Do-While
D)Else
Question
In VBA,which of the following logical operators performs the function of disjunction on two expressions?

A)Not
B)Or
C)And
D)XoR
Question
In VBA,which of the following logical operators performs the function of negation on an expression?

A)XoR
B)Or
C)Imp
D)Not
Question
Which of the following is true about the Do-Until loop structure?

A)In a Do-Until loop,the macro executes the loop until the condition is false.
B)A Do-Until loop continues until a specified condition is met.
C)A Do-Until loop is the simplest type of loop.
D)A Do-Until loop is similar to the Do-While structure.
Question
In VBA,which of the following symbols represents the exponentiation operator?

A)^
B)*
C)/
D)&
Question
When VBA executes a Select Case structure,the structure is exited:

A)as soon as VBA finds a true case.
B)after VBA executes the statements for a true condition.
C)after VBA executes the statements for a false condition.
D)as soon as VBA finds a false case.
Question
You can use VBA to create your own worksheet functions.
Question
The quickest way to activate the VBE is to press Ctrl + F11 when Excel is active.
Question
VBA stands for Virtual Basic for Applications.
Question
Units of VBA code are called subroutines.
Question
If the Project Window is not visible in VBE,press the Ctrl + W to open it.
Question
When saving an Excel workbook,any macro that has been created will automatically get saved within the workbook.
Question
When typing code directly into a VBA macro,the Ctrl key is used to indent some of the lines to make the code easier to read.
Question
You view and edit VBA macros using the Function procedure.
Question
The Visual Basic Editor is used to record a sequence of commands in Excel to save them in a macro.
Question
A macro is a set of actions recorded or written by a user.
Question
You can customize the Excel toolbars with your own buttons that execute the macros you write.
Question
The macro recorder is a software tool that lets you record a sequence of commands in Excel and save them as a macro.
Question
Excel must be running before a VBA macro can be edited using the VB editor.
Question
A single VBA module can store any number of Sub procedures,Function procedures,and declarations.
Question
To use VBA in an Excel worksheet,you must purchase a separate plug-in module.
Question
A VBA macro can be used to print your company name and logo at the top of all worksheets.
Question
When working in VBE,an object is considered as a collection of projects.
Question
A variable in VBA is an item available for you to control in your code.
Question
VBA is only a programming language and not a macro language.
Question
A Sub procedure is a VBA macro that returns a single value.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/125
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 22: Programming in Excel With VBA
1
Which of the following does a VBA macro manipulate?

A)A constant
B)A variable
C)An object
D)A sub macro
C
Explanation: VBA manipulates objects.An object in VBA is an item available for you to control in your code.
2
Which of the following tools enables users to view and edit a VBA macro?

A)Web authoring software
B)Visual Basic Editor
C)Query-by-example tool
D)Visual Basic Analyzer
B
Explanation: You perform actions in VBA by writing (or recording)code in a VBA macro.You view and edit VBA macros using the Visual Basic Editor (VBE).
3
Which of the following is a component of a macro that performs some action on or with objects?

A)A Function procedure
B)A Sub procedure
C)A visual procedure
D)A Sub macro
B
Explanation: A VBA macro consists of Sub procedures.A Sub procedure is computer code that performs some action on or with objects.
4
Which of the following statements is true about a macro in Excel?

A)It is used to access the functions available in Excel.
B)It is used to convert an Excel worksheet into a PDF document.
C)It is used to scramble the contents of an Excel worksheet so that it can't be read without the right key.
D)It is used to automate a series of Excel steps and to set up buttons and dialog boxes.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following Excel tools allows you to record a sequence of commands in Excel and save them?

A)The key logger tool
B)The query-by-example tool
C)A Sub procedure
D)The macro recorder
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
6
VBA is:

A)a programming language developed by Microsoft to extend and customize Excel.
B)a graphical user interface that allows a novice Excel user to build complex worksheets.
C)a programming environment built by a non-profit group of programmers that can be used with Excel.
D)a programming environment developed by Microsoft that can be used instead of Excel and Access for complex applications.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following is a built-in function in Excel and does not require a macro?

A)Inserting a company name on all spreadsheets
B)Creating a custom toolbar button
C)Performing a specific calculation on multiple workbooks
D)Computing Sum and Average
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following Excel tools allows you to automate the building and running of complex calculations that are not included in the standard set of Excel functions?

A)Function builder
B)Query-by-example tool
C)Wizard
D)VBA
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following is a set of Excel actions recorded or written by a user?

A)A macro
B)A hyperlink
C)A botnet
D)A rootkit
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following VBA macros can be used in a worksheet formula?

A)An integrity constraint
B)An Object procedure
C)A primary key
D)A Function procedure
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following refers to a place used to store a piece of information in Excel?

A)A cell
B)A variable
C)A macro
D)A field
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
12
Units of VBA code are often referred to as ____.

A)subroutines
B)routines
C)macros
D)programs
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
13
Mr.Joseph is the CEO of a leading manufacturing concern.He wanted his name and designation to appear in italics on all the spreadsheets of the company's annual report.Which of the following Excel action should he use to achieve this?

A)A wizard
B)A rootkit
C)A macro
D)A botnet
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following is a programming language that includes build-in commands that mimic the functionality available from menus and dialog boxes within an application?

A)Binary code
B)Object-oriented programming language
C)Macro language
D)HyperText Markup Language
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
15
Dan was making a science project.He wanted to automate the two steps of adding a background theme to the cells and then printing the worksheet.Which of the following Excel actions can help Dan achieve this?

A)A system program
B)A macro
C)A hyperlink
D)An auto function
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
16
A(n)_____ in VBA is an item available for you to control in your code.

A)constant
B)object
C)sub macro
D)variable
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following is true about Function procedures?

A)Function procedures return a single value.
B)The end of a Function procedure is marked by the keyword End Sub.
C)The macro recorder can produce Function procedures.
D)Function procedures refer to one or more information statements that you provide to VBA.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
18
When working on a worksheet,Ben was editing his macros using the Visual Basic Editor (VBE).After a while he wanted to go back to the Excel application interface.Which of the following key(s)should Ben use to toggle between the Excel application interface and the VBE?

A)Ctrl+F9
B)Ctrl+V
C)Alt+F11
D)Alt+V
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
19
Which of the following is a VBA macro that returns a single value?

A)A Sub procedure
B)A Function procedure
C)An Object procedure
D)A Sub Macro
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following keys will you press to activate the VBE when Excel is active?

A)Ctrl+F9
B)Ctrl+V
C)Alt+F11
D)Alt+V
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
21
Which of the following key(s)will display the Project Explorer window if it is not visible on the VBE Program Window?

A)Ctrl+F11
B)Ctrl+W
C)Alt+W
D)Ctrl+R
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following VBA windows will you use to debug your VBA code?

A)The Project Explorer Window
B)The Code Window
C)The Properties Window
D)The Immediate Window
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is true about the Immediate window?

A)It shows you the properties that can be changed for the currently active object in the Project Explorer window.
B)It displays a tree diagram that consists of every workbook currently open in Excel.
C)It can be displayed by pressing Ctrl + R.
D)It is most useful for executing VBA statements directly.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following elements of VBA programming may change during the execution of a procedure?

A)A constant
B)A variable
C)A comment
D)A macro
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
25
Excel and VBA can work with both numbers and text.Text is often referred to as ____.

A)a variable
B)an object
C)a string
D)a subroutine
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
26
Which of the following data type uses 2 bytes and whose range of values is true or false?

A)Boolean
B)Integer
C)Double (negative)
D)Double (positive)
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
27
Sub procedures start with the keyword Sub followed by the name of the procedure and opening and closing:

A)double quotes.
B)parentheses.
C)single quotes.
D)guillemets.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
28
Which of the following would be considered a named element whose value would not change during the execution of a procedure?

A)A variable
B)A constant
C)A comment
D)A macro
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
29
When entering code directly into a module,which key should be used to indent some of the lines to make the code easier to read?

A)Tab
B)Shift
C)Ctrl
D)Alt
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following VBA windows shows every workbook that is currently open in Excel?

A)The Project Explorer Window
B)The Code Window
C)The Properties Window
D)The Immediate Window
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
31
When you record a macro,Excel automatically inserts a VBA _____ to hold the recorded code.

A)constant
B)object
C)module
D)variable
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
32
While entering a VBA code directly,to continue a single line of code from one line to the next,end the first line with:

A)a space followed by an equal sign.
B)a continue Sub statement.
C)a space followed by an underscore.
D)a space followed by a double quote.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
33
With which of the following would you begin a comment line?

A)A single quote
B)A double quote
C)An underscore
D)An equal sign
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
34
Which of the following data type uses 1 byte per character and whose range of values varies?

A)Boolean
B)String
C)Integer
D)Currency
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following key(s)will display the Immediate Window if it is not visible on the VBE Program Window?

A)Ctrl+W
B)Ctrl+G
C)Alt+W
D)Ctrl+I
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
36
What type of strings theoretically can hold as many as 2 billion characters?

A)Recurring-length strings
B)Definite-length strings
C)Fixed-length strings
D)Variable-length strings
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
37
Which of the following is the simplest type of VBA statement?

A)A macro
B)A For-Next loop
C)An assignment
D)A comment
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
38
Which of the following options would describe the process of creating variables simply by using them?

A)Definite variable declaration
B)Implicit variable declaration
C)Explicit variable declaration
D)Composite variable declaration
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
39
Which of the following statements is true of a user defined function?

A)It can be written when the function needed is already in Excel.
B)It can increase the complexity of a worksheet.
C)It can increase productivity.
D)It can be recorded in a macro recorder.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
40
Which of the following is true about the Project Explorer window?

A)It is most useful for executing VBA statements directly.
B)It contains VBA code.
C)It displays a tree diagram that consists of every workbook currently open in Excel.
D)It shows you the properties that can be changed for the currently active object in the Project Explorer window.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
41
Which of the following is the simplest type of looping statement?

A)Do-While
B)Do-Else
C)Do-Until
D)For-Next
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
42
In VBA,dates and times are placed between two:

A)~ symbols.
B)# symbols.
C)* symbols.
D)" symbols.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
43
Which of the following terms refers to repeating a block of statements or code numerous times?

A)Redacting
B)Linking
C)Looping
D)Concatenating
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
44
Which of the following describes the process of defining the names of all the variables you are going to use,before you use them in your code?

A)Definite variable declaration
B)Precision variable declaration
C)Explicit variable declaration
D)Implicit variable declaration
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
45
In VBA,which of the following logical operators performs the function of exclusion on two expressions?

A)And
B)Eqv
C)XoR
D)Imp
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
46
Which of the following statements is VBA's most important control structure?

A)For-Next
B)If-Then
C)Do-Until
D)Do-While
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
47
In which of the following VBA structures,a macro continues to execute the loop until a specified condition is met?

A)For-Next loop
B)If-Then loop
C)Do-While loop
D)Do-Next loop
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
48
Which of the following VBA structures is recommended in a decision involving three or more options?

A)If-Then
B)Select-Case
C)Looping
D)Do-While
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
49
Which of the following operators has the highest precedence in VBA?

A)Division
B)Addition
C)Multiplication
D)Exponentiation
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
50
When you want to execute one or more statements conditionally,what VBA structure would you use?

A)If-Then
B)Do-While
C)For-Next
D)Do-Until
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
51
In VBA,which of the following logical operators performs the function of conjunction on two expressions?

A)And
B)Eqv
C)XoR
D)Imp
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
52
Which of the following is a VBA statement that allocates the result of an expression to a variable or an object?

A)A Dim statement
B)A function statement
C)An assignment statement
D)A detail statement
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
53
Which of the following is used to declare an explicit variable with VBA code?

A)A Dim statement
B)A comment
C)An assignment statement
D)A string
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
54
Which of the following is true about the way a macro works?

A)It skips over some statements as it executes the code
B)It executes some statements multiple times
C)It tests conditions to determine what the procedure does next
D)It starts at the code's beginning and progresses line by line to the end
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
55
Which VBA loop structure is controlled by a counter variable,which starts at one value and stops at another value?

A)For-Next
B)Do-Until
C)Do-While
D)Else
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
56
In VBA,which of the following logical operators performs the function of disjunction on two expressions?

A)Not
B)Or
C)And
D)XoR
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
57
In VBA,which of the following logical operators performs the function of negation on an expression?

A)XoR
B)Or
C)Imp
D)Not
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
58
Which of the following is true about the Do-Until loop structure?

A)In a Do-Until loop,the macro executes the loop until the condition is false.
B)A Do-Until loop continues until a specified condition is met.
C)A Do-Until loop is the simplest type of loop.
D)A Do-Until loop is similar to the Do-While structure.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
59
In VBA,which of the following symbols represents the exponentiation operator?

A)^
B)*
C)/
D)&
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
60
When VBA executes a Select Case structure,the structure is exited:

A)as soon as VBA finds a true case.
B)after VBA executes the statements for a true condition.
C)after VBA executes the statements for a false condition.
D)as soon as VBA finds a false case.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
61
You can use VBA to create your own worksheet functions.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
62
The quickest way to activate the VBE is to press Ctrl + F11 when Excel is active.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
63
VBA stands for Virtual Basic for Applications.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
64
Units of VBA code are called subroutines.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
65
If the Project Window is not visible in VBE,press the Ctrl + W to open it.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
66
When saving an Excel workbook,any macro that has been created will automatically get saved within the workbook.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
67
When typing code directly into a VBA macro,the Ctrl key is used to indent some of the lines to make the code easier to read.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
68
You view and edit VBA macros using the Function procedure.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
69
The Visual Basic Editor is used to record a sequence of commands in Excel to save them in a macro.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
70
A macro is a set of actions recorded or written by a user.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
71
You can customize the Excel toolbars with your own buttons that execute the macros you write.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
72
The macro recorder is a software tool that lets you record a sequence of commands in Excel and save them as a macro.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
73
Excel must be running before a VBA macro can be edited using the VB editor.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
74
A single VBA module can store any number of Sub procedures,Function procedures,and declarations.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
75
To use VBA in an Excel worksheet,you must purchase a separate plug-in module.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
76
A VBA macro can be used to print your company name and logo at the top of all worksheets.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
77
When working in VBE,an object is considered as a collection of projects.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
78
A variable in VBA is an item available for you to control in your code.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
79
VBA is only a programming language and not a macro language.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
80
A Sub procedure is a VBA macro that returns a single value.
Unlock Deck
Unlock for access to all 125 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 125 flashcards in this deck.