0

Good afternoon,

I am preparing the letter, which will be sent automatically from the macro. Unfortunately, I have encountered a problem with breakdown. Because the email is going to be big, I need the line breakdown for a few times. How can I do this properly?

enter image description here

 With OutlookMail
 .BodyFormat = olFormatHTML
 .Display
 .HTMLBody = "Dear " & Surveyor & " <br><br> Please attend <b><font color='red'>" & Site & "</font></b> at " & Adr & " on " & Dt & "." _
 "Site contact name and number"

This is my code snippet. Everything works fine until the end of the first line. After the breakdown, I am getting an error: Compile error: Syntax error:

How can I resolve it?

Geographos
  • 827
  • 2
  • 23
  • 57

0 Answers0