Bold email body from VBA

  • Thread starter Thread starter Jake F
  • Start date Start date
J

Jake F

I'm trying to automate an email and would like to bold a portion of the email
body but cannot figure out how. Here is my code for it: strMessage2 is the
portion i would like to bold.

Dim strMessageBody As String
Dim strMessage2 As String

strMessageBody = strMessageBody + rs![Team nominated] + CRLF
strMessageBody = strMessageBody + rs![Name of all the team members] + CRLF
strMessageBody = strMessageBody + strMessage2.FontBold = True + CRLF
 
How are you sending the e-mail? If you're using SendObject, you can't bold
part of it (or any of it, for that matter).

If you're automating an e-mail client, such as Outlook, how you'd do it
depends on the e-mail client.

See whether you can find anything at the Access E-Mail FAQ that Tony Toews
maintains at http://www.granite.ab.ca/access/email.htm
 
Back
Top