Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 243
  • Last Modified:

memo.Body = NewLine?

I am trying to create a message in my body of my email

        line1  = "Job Number: " & OrderNo
      line2 = "Requester Name: " & sendto
      line3 = "Your job has been completed by the model shop."
      line4 = "If you have any questions please contact us"
      
      memo2.Form = "memo"
      memo2.Subject = "Your Model Shop request has been completed."
      memo2.Body = line1 + line2 + line3 + line4
      memo2.SendTo = sendto
      Call memo2.Send(False)

I have no idea how to put in newlines
0
Jaziar
Asked:
Jaziar
1 Solution
 
Bill-HansonCommented:
For plain text email, just use Chr(10).

    For example:

    line1  = "Job Number: " & OrderNo & Chr(10)
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now