HOW TO MAKE THE BODY OF A MAILITEM BOLD

  • Thread starter Thread starter jason
  • Start date Start date
J

jason

I'm using:

Public Function EMail_MCubed()

If ActiveCell.Value = "M-Cubed" Then

Dim myAction As String

Call OpenOutlookApp 'this call will instantiate outlook

Set OutMail = OutApp.CreateItem(0)

With OutMail
.Subject = "Confirmation of " & ActiveCell(1, 0) & " deal"
.To = "(e-mail address removed)"
.CC = "(e-mail address removed)"
.Body = "Dear Sir/Madam," & vbCrLf & vbCr & _
"Policy: " & ActiveCell(1, 0) & vbCr & _
"Action: " & myAction & vbCr & _
"Fund: " & ActiveCell(1, 9) & vbCrLf & vbCr & _
"Kind Regards," & vbCr & _
"Scottish Prudential"
.Display
End With

On Error Resume Next
OutApp.ActiveInspector.WindowState = 2
On Error GoTo 0

Set OutMail = Nothing
Set OutApp = Nothing

End If

End Function

HOW CAN I MAKE IT SO THAT THE LAST LINE OF THE BODY "Scottish Prudential" IS BOLD?

Any help greatly appreciated
Jason
 
Cheers Sue,

I don't know any html language, so i think i'll shy away from this and
just leave it reg font rather than bold as phrases like "fully tagged"
don't mean much to me - does you explain this more fully in your book?
should i refer back to that?

Jason
 
The book doesn't go into detail on HTML coding, since there are many, many
good references for that. You can even start yourself: Next time you're
looking at a very simple web page (hard to find these days), right-click in
the middle of the page and choose View Source. The HTML source content will
open in Notepad for you to study.
 
Thanks Sue - i can see the source behind this Google page!
What is a good starting reference for me to start playing around with HTML?
Is it a language that is worth learning the basics off? If so, why?

jason
 
Back
Top