Happy Friday,
I have a sheet to send monthly and I want to create a button and a code to send it to the same people every month. The button works but the code isn't EXACTLY how I want it.
Here are my issues:
1) My signature is not showing up
2) I can't get the font to be Arial, 11.
Any help is appreciated.
I have a sheet to send monthly and I want to create a button and a code to send it to the same people every month. The button works but the code isn't EXACTLY how I want it.
Here are my issues:
1) My signature is not showing up
2) I can't get the font to be Arial, 11.
Code:
Sub Send_Emails()
Dim OutlookApp As Outlook.Application
Dim OutlookMail As Outlook.MailItem
Set OutlookApp = New Outlook.Application
Set OutlookMail = OutlookApp.CreateItem(olMailItem)
With OutlookMail
.BodyFormat = olFormatHTML
.Display
.HTMLBody = "[FONT=Arial]"
.HTMLBody = "Names," & " " & " " & "Please find the worksheets attached." & .HTMLBody
.To = "name@domain.com"
.CC = ""
.BCC = ""
.Subject = "Monthly Service Worksheets"
.Attachments.Add ("S:\Staff\TValli\Worksheet 2019.xlsx")
.Attachments.Add ("S:\Staff\TValli\Worksheet Yearly Summary.xlsx")
.Send
End With
MsgBox ("Your email has been sent")
End Sub[/FONT]
Any help is appreciated.