My db allows the user to send email via CDO. The body of the email is
determined in code. I have built an email form with To, CC and Subject
lines and a large text box for the body of the message so the user can
edit the default email message body before sending the message.
But when I populate the large text box (txtBody), I can't get it to
include the carriage returns. I've tried vbNewLine, vbCrLf, Chr(10)
and Chr(13). I've got the Text Format set to "Rich Text" and the Enter
Key Behavior to "New Line in Field". Doesn't help.
Is it possible to populate a text box in Access with VBA so that it
will include carriage returns?
determined in code. I have built an email form with To, CC and Subject
lines and a large text box for the body of the message so the user can
edit the default email message body before sending the message.
But when I populate the large text box (txtBody), I can't get it to
include the carriage returns. I've tried vbNewLine, vbCrLf, Chr(10)
and Chr(13). I've got the Text Format set to "Rich Text" and the Enter
Key Behavior to "New Line in Field". Doesn't help.
Is it possible to populate a text box in Access with VBA so that it
will include carriage returns?
Comment