This article applies to either a Microsoft Access database (.mdb) file or to a Microsoft Access database (.accdb) file, and to a Microsoft Access project (.adp) file.For a Microsoft Access 2000 version of this article, see
- The Visual Basic for Applications constant for a carriage return and line feed, vbCrLf.
- The character codes for a carriage return and line feed, Chr(13) & Chr(10).
This is an Important Message!
- Example Using the Visual Basic for Applications Constant:
MsgBox "NOTICE:" & vbCrLf & "This is an Important Message!"
- Example Using the Character Codes:
MsgBox "NOTICE:" & Chr(13) & Chr(10) & "This is an Important Message!"
Article ID: 281670 - Last Review: Oct 30, 2008 - Revision: 1