jamiepryer
asked on
VBS for BodyFormat = olFormatRichText - making an outlook email look better?
Hi, using VB, how would I set a line of my code, to generate some text in bold/italic/underline?
At the moment, its all plain txt.
Im using outlook 2003 and excel as a bulk email generator.
myItem.BodyFormat = olFormatRichText
myItem.Body = _
"Dear " & Trim(ManagerFirstName) & "," & vbCrLf _
& vbCrLf _
& "I want this txt to be bold" & vbCrLf _
& vbCrLf _
& ApplicationName & " I want this to be in red font and underlined." & vbCrLf _
& vbCrLf _
So using the richtext feature, how do I add rich text
I would rather not use HTML if possible, unless this is a lot easier/better
also, if your posting links, can you also post some text (from the link too) as the internet in the office doesnt let you get onto many sites - please!
At the moment, its all plain txt.
Im using outlook 2003 and excel as a bulk email generator.
myItem.BodyFormat = olFormatRichText
myItem.Body = _
"Dear " & Trim(ManagerFirstName) & "," & vbCrLf _
& vbCrLf _
& "I want this txt to be bold" & vbCrLf _
& vbCrLf _
& ApplicationName & " I want this to be in red font and underlined." & vbCrLf _
& vbCrLf _
So using the richtext feature, how do I add rich text
I would rather not use HTML if possible, unless this is a lot easier/better
also, if your posting links, can you also post some text (from the link too) as the internet in the office doesnt let you get onto many sites - please!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.