Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Formatting (http://www.outlookbanter.com/outlook-using-forms/95703-formatting.html)

Wanda October 6th 09 06:42 PM

Formatting
 
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

Dmitry Streblechenko October 6th 09 11:11 PM

Formatting
 
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
-
"Wanda" wrote in message
...
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





All times are GMT +1. The time now is 07:09 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com