Export (0) Print
Expand All
Expand Minimize

VBA Constant Changes in Visual Basic .NET

The following table shows the Visual Basic 6.0 VBA constants and their Visual Basic .NET equivalents.

Note   For backward compatibility, the Visual Basic 6.0 VBA constants may also be used in Visual Basic .NET.
Visual Basic 6.0Visual Basic .NET Equivalent
vbBackControlChars.Back
vbCrControlChars.Cr
vbCrLfControlChars.CrLf
vbFormFeedControlChars.FormFeed
vbLfControlChars.Lf
vbNewLineControlChars.NewLine
vbNullCharControlChars.NullChar
vbNullStringNothing keyword
vbObjectErrorvbObjectError
vbTabControlChars.Tab

See Also

Constant Changes in Visual Basic .NET | Constants and Enumerations

Show:
© 2015 Microsoft