Formatting

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
 
D

Dmitry Streblechenko

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
-
 

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

Top