Inserting color in VBA email code

trey2008

New Member
Joined
Dec 22, 2017
Messages
5
Hey! I am trying to have certain lines of my ebody be red & bold and also create a bullet list. I currently have just a bullet entered, but no list. And the color, I'm totally lost on. Below is the code. Line 1 of the ebody needs to be red, and the line with Chr (149) is where I have the bullet inserted, but it will not create a list. Thanks for any help!

Code:
esubject = "Urgent #" & Range("D4") & "/" & Range("D3")
sendto = Range("D5") & ";" & Range("A3")
ccto = redacted
ebody = "IMMEDIATE ACTION REQUIRED AND RESPONSE NEEDED OR PROCESSING ON THIS REQUEST MAY BE DELAYED!" _
& vbCrLf & vbCrLf & "Unfortunately," & vbCrLf & vbCrLf _
& Chr(149) & " Enter Info." & vbCrLf & vbCrLf _
& "Once all information in question has been received, reply back to this email to proceed with this request." & vbCrLf & vbCrLf _
& "If you have any questions, please contact [EMAIL="BAT@firstcitizens.com"]redact[/EMAIL] or redact"
Set app = CreateObject("Outlook.Application")
Set itm = app.CreateItem(0)
With itm
.Subject = esubject
.To = sendto
.CC = ccto
.Body = ebody
.Display

[code]
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
thinl you have to force it to HTML or RTF to get colour to be there, providing that the recipient doesn't force to TEXT
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,223,993
Messages
6,175,842
Members
452,675
Latest member
duongtruc1610

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top