email macro

5 pts.
Tags:
Excel macros
Microsoft Excel
Outlook
create amacro to send an email with Excelattachment
ASKED: June 1, 2009  5:19 PM
UPDATED: February 15, 2010  2:48 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Where does this macro run? Is it from another application? Within excel itself?

Please try to be more specific.

-Schmidtw

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Smf
    If you have Outlook as your email and using Excel for the macro Dim OutApp As Object Dim OutMail As Object Set OutApp = CreateObject("Outlook.Application") OutApp.Session.Logon Set OutMail = OutApp.CreateItem(0) With OutMail .To = strEmail .Subject = strSubject .Body = strbody 'get each file to attach .Attachments.Add strFile .Display 'Or use Send to send without looking at the email first End With Set OutMail = Nothing Set OutApp = Nothing
    170 pointsBadges:
    report
  • RuleBreaker
    good
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following