• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to automatically attach Excel Spreadsheet To Outlook Email and CC to sender

mgowri

New Member
I am in the process of creating a problem reporting tool used by different departments. Here is the Macro being used to automatically send the Excel file as an attachement to people in my department.


ActiveWorkbook.SendMail _

Recipients:="(E-Mail Removed)", _

Subject:="Subject header" & Format(Date, "dd/mmm/yy")


I need this automatic email with attachment to be copied to the sender so he/she has a confirmation of the problem report sent to our department, showing that the report was attached to the email.


Is there a macro to dynamically CC the automatic email of the Excel report to the sender's email ID?


Thanks for your help!


Maya
 
There are lots of great example VBA code on this site: http://www.rondebruin.nl/sendmail.htm


I have recently used this in some of my projects to attach the worksheet and email to recipients which are in a named range on another worksheet: http://www.rondebruin.nl/mail/tips2.htm


Hope those help.
 
Back
Top