Outlook
Outlook
Sub SendEmail()
Recipients = "[email protected];[email protected];[email protected]"
With OutlookMail
.To = Recipients
.Subject = Subject
.Body = Body
.Send
End With
Sub SendEmail()
Recipients = "[email protected];[email protected]"
With OutlookMail
.To = Recipients
.Subject = Subject
.Body = Body
.Display
‘.Send
End With
Sub SendWorkbookEmail()
FilePath = ActiveWorkbook.FullName
OutMail.To = Recipients
OutMail.Subject = Subject
OutMail.Body = Body
OutMail.Attachments.Add FilePath
OutMail.Send
End Sub
+++
Sub Send_Email()
OutMail.To = Recipients
'Add the subject to the email message
OutMail.Subject = Subject
OutMail.Body = Body
OutMail.Attachments.Add FilePath
OutMail.Send
End Sub
+++
Sub AttachWorkbookIntoEmailMessage()
End Sub