Build-In Symbolic Constants.

<< Click to Display Table of Contents >>

Navigation:  Variables and Data Types >

Build-In Symbolic Constants.

The macro language provides a number of predefined constants that can be used anywhere in your code in place of the actual values

 

Constant

Equivalent

Description

vbCrLf

Chr(13) + Chr(10)

Carriage return–linefeed combination.

vbCr

Chr(13)

Carriage return character

vbLf

Chr(10)

Linefeed character.

vbTab

Chr(9)

Tab character.

vbFormFeed

Chr(12)

Form feed character

vbBack

Chr(8)

Form feed character.

 

Other constants, specific to MsgBox, and Date variables are defined. You can get the list in the description of the MsgBox function