Export (0) Print
Expand All
Expand Minimize

VBA Constants for Visual Basic 6.0 Users

The following table shows the Microsoft Visual Basic for Applications (VBA) constants for Visual Basic 6.0 and their Visual Basic 2008 equivalents.

NoteNote:

For backward compatibility, the Visual Basic 6.0 VBA constants can also be used in Visual Basic 2008.

Visual Basic 6.0

Visual Basic 2008 Equivalent

vbBack

ControlChars.Back

vbCr

ControlChars.Cr

vbCrLf

ControlChars.CrLf

vbFormFeed

ControlChars.FormFeed

vbLf

ControlChars.Lf

vbNewLine

ControlChars.NewLine

vbNullChar

ControlChars.NullChar

vbNullString

Nothing keyword

vbObjectError

vbObjectError

vbTab

ControlChars.Tab

Community Additions

ADD
Show:
© 2014 Microsoft