Bold message text using SendObject

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an automated e-mail that is generated by access. I want part of the
text in the body to be bold.

DoCmd.SendObject acSendNoObject, , , "PJFry", , , "We'd like your input for
our Winter Event" _
, "Good Afternoon, " _
& vbCrLf _
& vbCrLf _
& "It's time to begin planning for the Winter Event in January! Your Winter
Event Committee received many positive responses regarding last year's event
and some suggestions for this year. Based on your comments we would like your
opinions on the suggestions, in order to plan this year's event. " _
& Format("You must respond by 11/2!", Bold)

It is the 'You must respond by 11/2!' that I want have bold. How do I do
this?

Thanks in advance
PJ
 
I do not believe that you can create HTML formated e-mails using sendobject.
For this you would need to automate Outlook and use the HTML output. Google
it, there are tons of examples out there.
 
PJFry said:
I have an automated e-mail that is generated by access. I want part
of the text in the body to be bold.

DoCmd.SendObject acSendNoObject, , , "PJFry", , , "We'd like your
input for our Winter Event" _
, "Good Afternoon, " _
& vbCrLf _
& vbCrLf _
& "It's time to begin planning for the Winter Event in January! Your
Winter Event Committee received many positive responses regarding
last year's event and some suggestions for this year. Based on your
comments we would like your opinions on the suggestions, in order to
plan this year's event. " _ & Format("You must respond by 11/2!",
Bold)

It is the 'You must respond by 11/2!' that I want have bold. How do
I do this?

Thanks in advance
PJ

With SendObject you are stuck with plain unformatted text. You can automate
Outlook, CDO, or other messaging libraries that support HTML mail bodies
instead. Or you can just use all caps instead of bold.
 
Back
Top