Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.