Define the Name space

     

    dim NP as Outlook.Namespace
    Set NP = Application.GetNamespace("MAPI")

     

     

    Define the styles in case of HTML Body

     

  • Define the header style tag
  •  

     

  • Define the Paragraph style tag
  •  

     

  • Outlook HTML Body
  •  

  • Span Tag - With background color:
  • This is for your information changed the Background color