title: VBA - Outlook Email.HTMLBody Line spacing?
body: <p>his is a small problem but is confusing me.  I am automating an email to be sent from excel.  The below code, for some reason, makes the last line have larger than normal spacing:</p>
  
  <pre><code>Sub emailspacing()
  Dim OutApp As Object
  Dim OutMail As Object
  Set OutApp = CreateObject("Outlook.Application")
  Set OutMail = OutApp.CreateItem(0)
  With OutMail
      .HTMLBody = "&lt;p style='font-family:calibri;font-size:14.5'&gt;Thanks for your help&lt;/p&gt;"
      .display
  End With
  </code></pre>
  
  <p>Whereas, when I remove the P style part, the email is generated with perfect line spacing???</p>
  
  <pre><code>Sub emailspacing()
  Dim OutApp As Object
  Dim OutMail As Object
  Set OutApp = CreateObject("Outlook.Application")
  Set OutMail = OutApp.CreateItem(0)
  With OutMail
      .HTMLBody = "Thanks for your help"
      .display
  End With
  </code></pre>
  
  <p>Does anyone know a way to combine the stylised HTML text with normal line spacing?</p>