Murray Brown
asked on
Excel VBA Email Envelope Embed two ranges in the body
Hi
I use the following code to build an email in the Mail Envelope
I want to embed two small ranges in the body. How do I do this?
With Globals.ThisAddIn.Applicat ion.Active Sheet.Mail Envelope
.Visible = True
.Item.To = oDetail
.Item.Cc = oDetail2
.Item.Subject = oDetail3
.Item.Body = oDetail4
.Attachment = oDetail5
'.Item.Send()
End With
I use the following code to build an email in the Mail Envelope
I want to embed two small ranges in the body. How do I do this?
With Globals.ThisAddIn.Applicat
.Visible = True
.Item.To = oDetail
.Item.Cc = oDetail2
.Item.Subject = oDetail3
.Item.Body = oDetail4
.Attachment = oDetail5
'.Item.Send()
End With
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
but of course you answered my question. Thanks very much
ASKER
I got the error
Public member 'Attachment' on type 'IMsoEnvelopeVB' not found.