I have a code to send email with attachement from excel and I need to change font color of some text in the email body but I don't know how to do that
in the below part of the code, I need the (period) text to be in red and also (body6) to be in red with underline below the word
(period) and (body6) refer to cell value in the sheet
thank you in advance
in the below part of the code, I need the (period) text to be in red and also (body6) to be in red with underline below the word
(period) and (body6) refer to cell value in the sheet
thank you in advance
VBA Code:
newHTML = "<div dir='rtl' style='font-family:Calibri; font-size:11pt;'<b>" & _
"<p>" & body1 & "<p>" & _
"<p>" & body7 & "</p>" & _
"<p>" & body2 & " <b>(" & membershipNo & ")</b> " & body3 & " <b>(" & _
startDate & "</b> - <b> " & endDate & ")</b> " & period & " </p>" & _
"<p>" & body4 & "</p>" & _
"<p>" & body5 & "</p>" & _
"<b>" & body6 & "</p>" & _
"</div>"""