Deck 11: Using Macros and Visual Basic for Applications Vba With Excel
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/112
Play
Full screen (f)
Deck 11: Using Macros and Visual Basic for Applications Vba With Excel
1
When you work with a ____ created by someone else, you should review its content and structure before you make changes to it.
A) workbook
B) document manager
C) command line
D) dialog report
A) workbook
B) document manager
C) command line
D) dialog report
A
2
Which of the following commands can you use to replace a formula with a text value?
A) Paste Text Box
B) Paste Summary
C) Paste Formulas
D) Paste Values
A) Paste Text Box
B) Paste Summary
C) Paste Formulas
D) Paste Values
D
3
A ____ ensures that users cannot unprotect a worksheet simply by clicking the Unprotect button.
A) password
B) formula
C) precedent
D) dependent
A) password
B) formula
C) precedent
D) dependent
A
4
Which of the following is the path to the Record Macro button?
A) (FORMULAS tab | Execute Macro group)
B) (DEV
A) (FORMULAS tab | Execute Macro group)
B) (DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
5
A computer ____ is a potentially damaging computer program designed to affect your computer negatively by altering the way it works.
A) blister
B) patch
C) virus
D) fever
A) blister
B) patch
C) virus
D) fever
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
6
You can add the DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following is the path to the Macro Security button?
A) (FORMULAS tab | Security group)
C) (DEV
A) (FORMULAS tab | Security group)
C) (DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
8
Pressing ____ displays formulas in worksheet cells.
A) CTRL+SINGLE QUOTE (')
B) CTRL+TILDE (~)
C) CTRL+COMMA (,)
D) CTRL+ACCENT MARK (`)
A) CTRL+SINGLE QUOTE (')
B) CTRL+TILDE (~)
C) CTRL+COMMA (,)
D) CTRL+ACCENT MARK (`)
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
9
You can enable or disable macros with options in the ____ dialog box.
A) Macro Options
B) Trust Center
C) Excel Options
D) Security Center
A) Macro Options
B) Trust Center
C) Excel Options
D) Security Center
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
10
____ are particularly helpful when working with a series of columns that would otherwise require you to scroll horizontally, or when entering a large number of entries into a worksheet.
A) Control buttons
B) Data forms
C) Command buttons
D) Macro recorders
A) Control buttons
B) Data forms
C) Command buttons
D) Macro recorders
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
11
The Protect Sheet button is located on the ____ tab.
A) CODE
C) DEV
A) CODE
C) DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
12
A series of precise instructions for a computer to accomplish a task is called a ____.
A) formula
B) description
C) procedure
D) report
A) formula
B) description
C) procedure
D) report
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
13
A macro name can be up to ____ characters long.
A) 8
B) 32
C) 127
D) 255
A) 8
B) 32
C) 127
D) 255
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following is the path to the Unprotect Sheet button?
A) (FORMULAS tab | Changes Auditing group)
B) (REVIEW tab | Changes group)
C) (HOME tab | Changes group)
D) (DATA tab | Changes group)
A) (FORMULAS tab | Changes Auditing group)
B) (REVIEW tab | Changes group)
C) (HOME tab | Changes group)
D) (DATA tab | Changes group)
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following functions can you use to determine the position of the space that separates a first and last name?
A) SEARCH
B) LEN
C) LEFT
D) RIGHT
A) SEARCH
B) LEN
C) LEFT
D) RIGHT
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
16
An Excel ____ is a procedure composed of VBA code.
A) micro
B) list
C) macro
D) table
A) micro
B) list
C) macro
D) table
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following functions can you use to convert names entered in all uppercase to mixed case?
A) CASE
B) TEXT
C) UPPER
D) PROPER
A) CASE
B) TEXT
C) UPPER
D) PROPER
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
18
If you will be using keyboard navigation when creating a macro, you must ensure that the '____' button in the Code group on the DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
19
Use macros to ensure consistency in all of the following EXCEPT ____.
A) calculations
B) formatting
C) manipulation of nonnumeric data
D) variables
A) calculations
B) formatting
C) manipulation of nonnumeric data
D) variables
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
20
A ____ is created by performing a set of steps and recording the steps as they are performed.
A) table
B) macro
C) report
D) calculation
A) table
B) macro
C) report
D) calculation
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
21
You can reset the Quick Access Toolbar to its installation default by tapping or clicking the Reset button in the Customize Quick Access Toolbar options in the ____ dialog box.
A) Installation Defaults
B) Restore Settings
C) Factory preset
D) Excel Options
A) Installation Defaults
B) Restore Settings
C) Factory preset
D) Excel Options
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
22
____ controls provide great flexibility in terms of their design.
A) Option Button
B) Form
C) Command Button
D) ActiveX
A) Option Button
B) Form
C) Command Button
D) ActiveX
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
23
You can delete a control by pressing and holding or right-clicking the control and selecting ____ on the shortcut menu.
A) Delete
B) Remove
C) Cut
D) Edit
A) Delete
B) Remove
C) Cut
D) Edit
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
24
Macros are known carriers of ____ because of the ease with which a person can add programming code to them.
A) viruses
B) beacons
C) errors
D) agents
A) viruses
B) beacons
C) errors
D) agents
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
25
Which of the following is the default security option for workbooks containing macros?
A) Disable all macros with notification
B) Enable all macros
C) Disable all macros except digitally signed macros
D) Disable all macros without notification
A) Disable all macros with notification
B) Enable all macros
C) Disable all macros except digitally signed macros
D) Disable all macros without notification
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
26

The ____ shown in the accompanying figure is used by all Office applications to enter, modify, and view Visual Basic for Applications code.
A) Visual Basic Recorder
B) Visual Basic Interpreter
C) Visual Basic Editor
D) none of the above
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following is the path to the 'Create from Selection' button used to assign names to cells and enter necessary references?
A) (DEV
A) (DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
28
Signed macros based on your own digital certificate are called ____.
A) commercially-signed projects
B) dynamically managed projects
C) self-signed projects
D) none of the above
A) commercially-signed projects
B) dynamically managed projects
C) self-signed projects
D) none of the above
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
29
You can use the ____ form control to position a set of option buttons together.
A) Group Box
B) Spin Button
C) Label
D) Scroll Bar
A) Group Box
B) Spin Button
C) Label
D) Scroll Bar
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
30
Each ActiveX control available in the Controls gallery has many ____.
A) properties
B) facets
C) names
D) none of the above
A) properties
B) facets
C) names
D) none of the above
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
31
____ controls require no knowledge of VBA to be used.
A) Dynamic object
B) Form
C) ActiveX
D) Worksheet management
A) Dynamic object
B) Form
C) ActiveX
D) Worksheet management
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
32
You can use the options in the ____ dialog box to apply colors and patterns to make controls stand out more.
A) Format Borders and Fill
B) Format Control
C) Format Object
D) Format Options
A) Format Borders and Fill
B) Format Control
C) Format Object
D) Format Options
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
33
In which of the following modes can you set the properties that determine a control's appearance and behavior?
A) Run
B) Design
C) Execute
D) Modify
A) Run
B) Design
C) Execute
D) Modify
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
34
You can open the Properties window by tapping or clicking the Control Properties button ____ in Design mode.
A) (DEV
A) (DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
35
You should test code before you enter it by stepping through the instructions one at a time in a process called ____ checking.
A) procedure
B) process
C) desk
D) instruction
A) procedure
B) process
C) desk
D) instruction
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
36
Comments can be placed at any of the following positions EXCEPT ____.
A) in between lines of code
B) before the Supplement statement
C) at the end of a line of code
D) before the Sub statement
A) in between lines of code
B) before the Supplement statement
C) at the end of a line of code
D) before the Sub statement
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
37
A ____ is an attachment to a file or email message that vouches for its authenticity.
A) digital comment
B) digital certificate
C) certification authority
D) digital signature
A) digital comment
B) digital certificate
C) certification authority
D) digital signature
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
38
____ code is created automatically by the macro recorder.
A) ABC
B) VBA
C) XTM
D) RCC
A) ABC
B) VBA
C) XTM
D) RCC
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
39
You can open the VBE Immediate window to debug and execute statements during design by pressing ____.
A) CTRL+I
B) CTRL+G
C) CTRL+F
D) CTRL+J
A) CTRL+I
B) CTRL+G
C) CTRL+F
D) CTRL+J
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
40
It is good practice to place comments containing overall documentation and information before the ____ statement.
A) Sub
B) Supplement
C) Public
D) Rem
A) Sub
B) Supplement
C) Public
D) Rem
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
41
Which of the following are names for a step-by-step description of a computerized task?
A) code
B) program
C) outline
D) procedure
A) code
B) program
C) outline
D) procedure
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
42
Passwords in Excel can contain ____.
A) letters
B) numbers
C) spaces
D) up to 30 characters
A) letters
B) numbers
C) spaces
D) up to 30 characters
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
43
Cells must be locked and the worksheet unprotected to restrict what users can do to cell contents.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
44
You can click the Stop/Start Macro button on the status bar to start or stop recording a macro.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
45
The MACRO tab on the ribbon includes commands used to work with macros.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
46
You can set a keyboard shortcut key combination for executing a macro with an option in the Record Macro dialog box.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
47
Usually all cells in a workbook are unlocked, except for those in which you enter data.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
48
Macros provide you with an opportunity to make certain tasks much more efficient and accurate.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
49
Before recording a macro, you should select your ending cell.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
50
A macro's steps and their order should be determined and rehearsed after creating the macro.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
51
A macro name can contain numbers and letters but not underscores.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
52
Which of the following are true about macros?
A) They save time
B) They ensure consistency
C) They automate repetitive tasks
D) They reduce formatting conformity
A) They save time
B) They ensure consistency
C) They automate repetitive tasks
D) They reduce formatting conformity
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
53
Once you start recording a macro, any task you perform in Excel will be part of the macro.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
54
Which of the following steps must be taken in preparation for working with macros in Excel?
A) The DEV
A) The DEV
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
55
If you make a mistake while recording a macro, press the ESC key and repeat the step in error.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
56
The basics of using VBA to create a data entry form include ____.
A) adding a button to the Create Code toolbar
B) creating a user interface
C) setting the properties
D) writing the code
A) adding a button to the Create Code toolbar
B) creating a user interface
C) setting the properties
D) writing the code
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
57
Every Excel command and ribbon button has a corresponding Answer Report that the computer executes.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
58
You should select the ending cell before turning on the macro recorder.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
59
Excel has a command or button for every possible worksheet task.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
60
If you lose an Excel password, you can request the password from Microsoft in order to gain access to the password-protected worksheet.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
61
ActiveX controls can be assigned an Excel macro directly.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
62
You can change the file type of a workbook that contains macros to Excel Macro-Enabled Workbook in the Trust Center dialog box.
_________________________
_________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
63
You must enable macros each time you open a workbook containing macros if the macro security setting is 'Disable all macros with notification.'
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
64
Excel provides a code generator called a(n) _________________________.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
65
With a worksheet protected, you can modify the contents of cells regardless of whether they are locked or unlocked.
_________________________
_________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
66
Because Excel does not have a command or button for every possible worksheet task, Microsoft has included a powerful programming language called HTML 5.
_________________________
_________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
67
An event-driven program includes procedures that are executed when specific actions are taken by the user or other events occur.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
68
If you are uncertain about the reliability of the source of a workbook and its macros, you can work with the macros disabled, which means that the code is not executable.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
69
If you are looking for the ALT key and do not find it on your on-screen keyboard, you may not have the full virtual keyboard enabled.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
70
When a user interacts with a control, the Visual Basic code that is associated with that action is executed.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
71
You can _________________________ a cell containing a formula or function to activate Range Finder.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
72
You can add up to 15 buttons to the Quick Access Toolbar.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
73
If you have enabled macros in a worksheet, Excel will not ask you about enabling them the next time you open the worksheet, but will open the worksheet with macros enabled.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
74
Excel's data form feature is used for entering data when the content is straightforward text or numbers. _________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
75
You can use Range Finder or the auditing commands to show which cells are referenced in formulas and functions.
_________________________
_________________________
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
76
Excel passwords are _________________________ sensitive.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
77
The process of writing a procedure is called _________________________.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
78

A(n) ____________________ like the one in the accompanying figure is created from a range of cells, and uses the column headings from that range to create the fields on the form.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
79
Form controls and ActiveX controls look identical and function in the same way.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck
80
You cannot assign an Excel macro directly to a form control.
Unlock Deck
Unlock for access to all 112 flashcards in this deck.
Unlock Deck
k this deck