A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Formatting



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 6th 09, 06:42 PM posted to microsoft.public.outlook.program_forms
Wanda
external usenet poster
 
Posts: 29
Default 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
Ads
  #2  
Old October 6th 09, 11:11 PM posted to microsoft.public.outlook.program_forms
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 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



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
formatting text skurtz Outlook - Using Contacts 1 April 21st 08 09:10 PM
Formatting Sam[_2_] Outlook - General Queries 1 December 7th 07 10:27 PM
Formatting eve3038 Outlook - General Queries 8 July 6th 07 10:46 PM
Formatting bar Shelly Outlook Express 4 May 26th 06 04:20 AM
formatting LarryV Outlook - Installation 0 April 4th 06 07:31 PM


All times are GMT +1. The time now is 07:59 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-2025 Outlook Banter.
The comments are property of their posters.