Excel (VBA) - Open Outlook and send a file


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?


  • 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:
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 (https://ccm.net/).
VBA - Create a series of buttons on a Excel worksheet
VBA / VB6 - Force a ComboBox to open