Differences Between vbLf, vbCrLf & vbCr Constants

 Constant   Value               Description
 ----------------------------------------------------------------
 vbCr       Chr(13)             Carriage return
 vbCrLf     Chr(13) & Chr(10)   Carriage return–linefeed combination
 vbLf       Chr(10)             Line feed
  • vbCr : – return to line beginning
    Represents a carriage-return character for print and display functions.

  • vbCrLf : – similar to pressing Enter
    Represents a carriage-return character combined with a linefeed character for print and display
    functions.

  • vbLf : – go to next line
    Represents a linefeed character for print and display functions.


Read More from Constants Class

Leave a Comment