Embedding carriage returns in a SendObject command

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to send about five fields to the body of an Outlook email and would like the five items to show up on five lines. an example would be
A
187
Victorian Camel Back Couc
76" in lengt
$2,00

Is there a something that will allow me to do this in either a string variable or within the message part of the SendObject command
 
GAKLLC said:
I am trying to send about five fields to the body of an Outlook email and would like the five items to show up on five lines. an example would be:
A 1
1876
Victorian Camel Back Couch
76" in length
$2,000

Is there a something that will allow me to do this in either a string variable or within the message part of the SendObject command?


I have no idea what character sequence Outlook uses to start
a new line, but I'll bet its either a LF, CR or CRLF. This
can be done when you build the string in a variable using
one of these:

strMsg = part1 & vbLf & part2 & vbCrLf & . . .
or
strMsg = part1 & vbCr & part2 & vbCrLf & . . .
or
strMsg = part1 & vbCrLf & part2 & vbCrLf & . . .
 
Back
Top