Bold HTML text in VBA

Terpsichore

Registered User.
Local time
Today, 16:55
Joined
Jun 5, 2006
Messages
34
Hello everyone,
I have some code that generates an email and uses the "mailto:" command. I want to bold some of the text but I don't know how. Or even if it is possible.

Here is the code I have. Its working perfectly but I just want to Bold the name of the person ("Angela" in example below)

Any help is greatly appreciated.

Thanks.
Angel

Dim myAddressList As String
Dim mySubjectLine As String
Dim myBodyText As String


'Send a confirmation email

myAddressList = Forms!F_AssignSeats!StudentID

mySubjectLine = "Training Confirmation"

myBodyText = "Text for the body of the email %0d%0a %0d%0a Regards, %0d%0a %0d%0a Angela %0d%0aJob Title %0d%0a"

myMessage = "mailto:" & myAddressList & "&subject=" & mySubjectLine & "&body=" & myBodyText Application.FollowHyperlink myMessage
 
If you are using VBA automation for Outlook

.HtmlBody = yourHTMLmessage
 

Users who are viewing this thread

Back
Top Bottom