Formatting

  • Thread starter Thread starter Wanda
  • Start date Start date
W

Wanda

If you have created a 2003 Outlook custom form and you have an IF statement
in the code, such as:

If objTab3("chbxPDIS") = True Then
.Body = .Body & "** PDIS has been requested." & chr(13) & chr(13)
End If

Can you make the text part (** PDIS has been requested.) bolded? The IF
statement is within a create new email type.

thank you. Wanda
 
You would need to set the HTMLBody property instead of Body. HTMLBody can
use any custom formatting
The downside is that you cannot easily concatenate HTML strings.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
 
Back
Top