Unlock access to all the studying documents.
View Full Document
A Sub procedure is a VBA macro that returns a single value.
You view and edit VBA macros using the Function procedure.
A variable in VBA is an item available for you to control in your code.
Excel must be running before a VBA macro can be edited using the VB
editor.
The quickest way to activate the VBE is to press Ctrl + F11 when Excel is
active.
If the Project Window is not visible in VBE, press the Ctrl + W to open it.
When working in VBE, an object is considered as a collection of projects.
A single VBA module can store any number of Sub procedures, Function
procedures, and declarations.
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.
When saving an Excel workbook, any macro that has been created will
automatically get saved within the workbook.
Excel’s VBA macro recorder makes it easy to record user defined functions.
A variable is the simplest type of VBA statement.
In a VBA statement, a comment begins with a double quote (“).
To assign a value to a variable, you must use the equal sign operator.
It is permissible to use spaces when assigning variable names.
Excel and VBA can work with both numbers and text.
Variable-length strings theoretically can hold as many as 2 billion
characters.
An assignment statement is a VBA statement that assigns the result of an
expression to a variable or an object.
The operator XoR performs the logical inclusion on an expression.
A macro is a VBA procedure that starts executing the code at the beginning
and progresses line by line until it reaches the end.
The Select Case structure is used for decisions involving 2 options.
The term looping refers to repeating a block of statements or code
numerous times.
In a Do-While loop, the macro executes the loop until the condition is true.
Fill in the Blank Questions
_____ extends and customizes Excel, allowing you to do things that Excel
itself is not able to do, such as calculating values in cells based on user
input values.
Units of VBA code are called ____.
The _____ is a software tool that lets you record a sequence of commands
in Excel and save them as a macro.
A(n) _____ is a set of actions recorded or written by a user.
A(n) _____ is a set of programming instructions that performs some action
on or with objects.
A(n) _____ is a VBA macro that returns a single value.