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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,214,975
Messages
6,122,537
Members
449,088
Latest member
RandomExceller01

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