brennaboy
08-18-2010, 05:10 AM
Hi,
I am using the below code to create an E-Mail from Excel.
However, I want to try and get some more information on how to format the body text. E.g. create a new line and make sure the attachement comes at the end of the body text rather than in the middle.
Are there any good resources on the net or any guidance?
Many thanks,
B.
With mpMailItem
.Subject = "This is my Subject"
.Body = "Please find attached"
.Attachments.Add "C:\MyDir\MyFile.xls"
.Display '<<< this will not send, change to .Send if required
End With
I am using the below code to create an E-Mail from Excel.
However, I want to try and get some more information on how to format the body text. E.g. create a new line and make sure the attachement comes at the end of the body text rather than in the middle.
Are there any good resources on the net or any guidance?
Many thanks,
B.
With mpMailItem
.Subject = "This is my Subject"
.Body = "Please find attached"
.Attachments.Add "C:\MyDir\MyFile.xls"
.Display '<<< this will not send, change to .Send if required
End With