About
Pricing
Community
Teams
Start Free Trial
Log in
Murray Brown
asked on
4/25/2015
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
Microsoft Excel
VBA
3
1
Last Comment
Murray Brown
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rgonzo1971
4/26/2015
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Murray Brown
4/26/2015
ASKER
Hi
I got the error
Public member 'Attachment' on type 'IMsoEnvelopeVB' not found.
Murray Brown
4/26/2015
ASKER
but of course you answered my question. Thanks very much
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
I got the error
Public member 'Attachment' on type 'IMsoEnvelopeVB' not found.