Using Excel 2000 & Outlook 2003
I have this all working but would like to change the "from" on the email to invoice@mycompany.com
I took a guess that it might be
omail.from = "invoice@mycompany.com"
but this didn't work
my code
I have this all working but would like to change the "from" on the email to invoice@mycompany.com
I took a guess that it might be
omail.from = "invoice@mycompany.com"
but this didn't work
my code
Code:
With oMail
.to = MailTo
'.Cc = MailCC
'.Bcc = MailBCC
.Subject = MailSub
.Body = MailTxt
.Attachments.Add filepath
.Attachments.Add "\\server\company\shipping\invoices\@T&C.pdf"
.Display
'.send
End With