Constant | Equivalent | Description |
---|---|---|
CrLf | Chr(13) + Chr(10) | Carriage return–linefeed combination |
Cr | Chr(13) | Carriage return character |
Lf | Chr(10) | Linefeed character |
NewLine | Chr(13) + Chr(10) | Platform-specific new line character; whichever is appropriate for current platform |
NullChar | Chr(0) | Character having value 0 |
NullString | String having value 0 | Not the same as a zero-length string (""); used for calling external procedures |
ObjectError | -2147221504 | User-defined error numbers should be greater than this value. For example:Err.Raise Number = vbObjectError + 1000 |
Tab | Chr(9) | Tab character |
Back | Chr(8) | Backspace character |
FormFeed | Chr(12) | Not useful in Microsoft Windows |
VerticalTab | Chr(11) | Not useful in Microsoft Windows |
Date Format Constants | DriveType Constants | File Attribute Constants | File Input/Output Constants | SpecialFolder Constants | Tristate Constants | Visual Basic Constants