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 language-specific term: a property, method, or object name; or another Visual Basic keyword.

propertyname

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

index

In syntax, bold italic type indicates placeholders for arguments when you can use either positional or named-argument syntax.

[expressionlist]

In syntax, items inside square brackets are optional.

{While|Until}

In syntax, braces and a vertical bar indicate a mandatory choice between two or more items.

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.

myVar

This font is used for example code.