Excel (VBA) - Open Outlook and send a file

June 2017




Issue


I wonder if you can create a button (Type: OptionButton) which, when pressed automatically opens Outlook and automatically set the Excel file as mail attachment?

Solution

  • Office programs (Excel in particular) a feature exists to automate the sending of sheets by mail,.
    • (Send by mail the current file as an attachment)
  • On Excel 2007, simply click on :Menu/Send/Email


This function can be assigned to a button (using a macro).
Code used:
    

Related


Published by jak58. Latest update on July 3, 2013 at 10:58 AM by jak58.
This document, titled "Excel (VBA) - Open Outlook and send a file," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).