Bold email body from VBA

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
 
D

Douglas J. Steele

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top