RichardSabbara
New Member
- Joined
- Oct 4, 2019
- Messages
- 2
I have the following macros that work:
Sub AAA_test_MAR()
Set Mail_Object = CreateObject("Outlook.Application")
With Mail_Object.CreateItem(o)
.Subject = "Monthly Action Report (MAR) "
.To = "richard.sabbara@xxx.com"
.CC = ""
.HTMLBody = MAR_Message_SECURE
.Attachments.Add ""
.Send
End With
End Sub
Function MAR_Message_SECURE() As String
MAR_Message_SECURE = "Please find attached your Monthly Action Report (MAR) for August. " & _
"<br/><p style='font-family:Arial;font-size:9'> </p>"
"We are going to sent out survey. " & _
"We want to hear from you! " & _
End Function
For the line "We are going to send out a survery. " I want this be bold, sky blue and 14 point font.
For the fline "We want to hear from you." I want to make this italics.
I am not sure how to do that.
Thank you,
Richard
Sub AAA_test_MAR()
Set Mail_Object = CreateObject("Outlook.Application")
With Mail_Object.CreateItem(o)
.Subject = "Monthly Action Report (MAR) "
.To = "richard.sabbara@xxx.com"
.CC = ""
.HTMLBody = MAR_Message_SECURE
.Attachments.Add ""
.Send
End With
End Sub
Function MAR_Message_SECURE() As String
MAR_Message_SECURE = "Please find attached your Monthly Action Report (MAR) for August. " & _
"<br/><p style='font-family:Arial;font-size:9'> </p>"
"We are going to sent out survey. " & _
"We want to hear from you! " & _
End Function
For the line "We are going to send out a survery. " I want this be bold, sky blue and 14 point font.
For the fline "We want to hear from you." I want to make this italics.
I am not sure how to do that.
Thank you,
Richard