Results 1 to 3 of 3
  1. #1
    darklite is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    41

    Help with & vbCrLf

    Can anybody tell me what this means? It's within an email body. I'm supposed to edit the email and add a new paragraph. I notice that lines are written out like the example below. What's confusing is that longer sentences that are not complete are still contained within this code, and I don't know how long I can make a sentence.

    EMailBody = EMailBody & "A long message line would appear here" & vbCrLf

    can anyone tell me why this is, and what this code means? Thanks!

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,173
    Hi,

    vb means it's a visual basic constant
    Cr = carriage return
    Lf = linefeed

    so practically it means: go to a new line (in Word language: ENTER)

    greetings
    NG

  3. #3
    darklite is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2010
    Posts
    41
    Fantastic! Thank you so much. This forum is of such great help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. vbCrLf is causing square box on last line
    By cowboy in forum Programming
    Replies: 1
    Last Post: 03-24-2010, 10:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums