View Single Post
  #1  
Old January 31st 12, 10:35 AM
c_nixon c_nixon is offline
Junior Member
 
First recorded activity at Outlookbanter: Jan 2012
Location: Newport, South Wales, UK
Posts: 2
Question change font format in mail body using vba

i have the following code that opens a new mail and adds "UNCLASSIFIED" to the start of the subject and body. What i need is some code that will format the the body instance of the word to be bold and larger than the rest of the text that will appear in the body (organisational rules).

Sub Unclass_Msg()
Dim msg As Outlook.MailItem
Set msg = Application.CreateItem(olMailItem)
With msg
.Subject = "UNCLASSIFIED - "
.Body = "UNCLASSIFIED"
.Display
End With
End Sub
Ads