Document Conventions

This book uses the typographic conventions shown in the following table. You might not recognize all the terms or Visual Basic keywords, but you'll learn more about them later.

Example of convention

Description

setup

Words or characters you're instructed to type appear in bold.

Sub, If, ChDir, MsgBox, True, Add, Height, Application, Range, Row

Words in bold with the initial letter capitalized indicate a a language-specific term: a property, method, or object name; or another Visual Basic keyword.

object

In text, italic type indicates important new terms, usually the first time they occur in the book.

propertyname

In code syntax, italic type indicates placeholders for information you supply.

ENTER

Small capital letters are used for the names of keys and key combinations, such as ENTER and CTRL+R.

CTRL+V

A plus sign (+) between key names indicates a combination of keys. For example, CTRL+V means to hold down the CTRL key while pressing the V key.

DOWN ARROW

Individual arrow keys are referred to by the direction of the arrow on the key (LEFT, RIGHT, UP, or DOWN). The phrase "arrow keys" is used when describing these keys collectively.

Backspace, HOME

Other navigational keys are referred to by their specific names.

myVar

This font is used for example code.

Sub StockSale ( )
.
.
.
End Sub

A column or row of three periods tells you that part of an example program has been intentionally omitted.