I have these lines running to create a new email in Outlook. They are working well.
Now I want to make them work when I forwarded an email (instead of creating a new email) and also include the original email when I forwarded it.
How can I do that? Seems there’s only Application.CreateItem Method (Outlook) and no ForwardItem? Thank you.
Sub CreateMsg0()
Dim objMsg As MailItem
Set objMsg = Application.CreateItem(olMailItem)
With objMsg
.To = "Alias@domain.com; Alias111@domain.com; Alias222@domain.com"
.CC = "Alias2@domain.com"
.Subject = "This is the subject"
.HTMLBody = "<p style='color:rgb(0,51,102);font-family:calibri;font-size:18'>" & ep _
& "Hello," & "<br>" & "<br>" & "<br>" & ep _
& "Email body writing line number 1." & "<br>" & ep _
& "Email body writing line number 2." & "<br>" & ep _
& "</p>" & ep _
& "<br>" & "<br>" & "<br>" & ep _
& "<p style='color:rgb(0,51,102);font-family:calibri;font-size:15'>" & ep _
& "Signature line 1." & "<br>" & ep _
& "Tel./fax." & "<br>" & ep _
& "</p>"
.Display
End With
Set objMsg = Nothing
End Sub