Chapter 3 Flashcards

1
Q

VBE stands for this

A

Visual Basic Editor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Path to get shortcut menus in VBE

A

right-click

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

two methods to display Project window in VBE

A

Ctrl+R

View->Project Explorer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

two paths to display the Immediate window

A

Ctrl+G

View->Immediate Window

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

two uses of the Immediate window

A

executing VBA statements directly

debugging code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

In Excel 2013, this was changed for the Help system

A

All help information is on the Internet and is displayed in a web browser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

If you don’t have Internet access and need help

A

download copy of the Help system from the Microsoft site using another computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

add-in file extension

A

.xlam

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

VBE Project explorer window nodes (three types)

A

Microsoft Excel Objects (Charts, Sheets, and This Workbook)

Modules node

Forms node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What does a Forms node contain?

A

UserForm objects (which hold custom dialog boxes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How to add a new VBA module to a project

A

Select the project’s name

Insert -> Module

or

Right-click the project’s name

Choose Insert -> Module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

To remove a module from a project

A

Select the module’s name in the project window

File -> Remove “module name”

or

Right-click the module’s name

Choose Remove “module name”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

to export an object

A

Select object in the Project window

Choose File -> Export File (or press Ctrl+E)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

to import an object

A

Select the project’s name in the Explorer window

Choose File -> Import File (or press Ctrl+M)

Locate the file, and click Open

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

arrange Code windows

A

Window -> Tile Horizontally

Window -> Tile Vertically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

switch among Code windows

A

press Ctrl+F6

17
Q

Three types of VBA module code

A

Declarations

Sub procedures

Function procedures

18
Q

single VBA module limit

A

64,000 characters

(any number of sub procedures, function procedures and declarations)

19
Q

three ways to get code into a VBA module

A

enter the code directly

use the Excel macro recorder

copy the code from another module

20
Q

use this to make code easier to read

A

indented lines using the Tab key

21
Q

Execute a procedure by placing the cursor anywhere within the text and typing this

A

F5

22
Q

F5 is short for this

A

Run -> Run Sub/User Form

23
Q

what does “Option Explicit” mean at the top of a module

A

you must declare all variables

24
Q

a VBA Sub procedure is also known as this

A

a macro

25
Q

when copying code from websites, these two things sometimes occur

A

quote characters may need to be converted to simple quote characters

long lines wrap around

(erroneous statements will appear in red in the VBE)

26
Q

Code settings options (6) in the Editor tab under Tools->Options

A

Auto Syntax Check

Require Variable Declaration

Auto List Members

Auto Quick Info

Auto Data Tips

Auto Indent

27
Q
A