hello!
I use this code for email and I want to have different font text, size and color for it.
I appreciate your help!
regards
j
I use this code for email and I want to have different font text, size and color for it.
I appreciate your help!
Rich (BB code):
Set olEmail = olApp.CreateItem(olMailItem)
With olEmail
.To = ""
.cc = ""
.Subject = "" & "-" & Format(Now, "dd_mmmm_yyyy")
.BodyFormat = olFormatHTML
.HTMLBody = "test for" & " " & Format(Now, "dd mmmm yyyy") & _
"" & "Brgds," & "" & "me" & "" & "" & "" & "This text font Courier New, size 11" & _
"" & "" & "" & "This text font Courier New, bold, color blue, size 11" & _
"" & "e-mail: aaa@bbb.com" & "" & "Website: www.gggg.com"
.display
End With
'With Sheet2
j
Last edited: