+ Reply to Thread
Results 1 to 4 of 4

Email Dialog Box Selected Excel attachment

  1. #1
    Registered User
    Join Date
    11-16-2012
    Location
    Edinburgh
    MS-Off Ver
    Excel 2003
    Posts
    19

    Email Dialog Box Selected Excel attachment

    Hi All,

    Im using the excel VBA below to trigger an email from a spreadsheet which conatins my email distribution list from column B and the subject etc from cell references on the same active worksheet. This code works great. However there are 2 additions I would like to make and have not managed to add:

    1) I would like the macro to trigger a dialog box from which I can attach an xlsx file of my choice from a shared drive
    2) I would then like the file name that I choose to be used to populate the email subject eg "file 1 12022014." Guessing this may have to happen before the email gets teed up which is fine.


    If anyone can help I would very much appreciate it

    Thanks in advance

    Ciaran01
    Please Login or Register  to view this content.
    Last edited by Leith Ross; 02-12-2014 at 02:01 PM. Reason: Added Code Tags

  2. #2
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Email Dialog Box Selected Excel attachment

    try this, is different from yr code but you can select what you want,
    Please Login or Register  to view this content.
    Regards, John55
    If you have issues with Code I've provided, I appreciate your feedback.
    In the event Code provided resolves your issue, please mark your Thread as SOLVED.
    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

    ...enjoy -funny parrots-

  3. #3
    Registered User
    Join Date
    11-16-2012
    Location
    Edinburgh
    MS-Off Ver
    Excel 2003
    Posts
    19

    Re: Email Dialog Box Selected Excel attachment

    This worked an absolute charm, thanks for your help John

  4. #4
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,028

    Re: Email Dialog Box Selected Excel attachment

    You're welcome!
    Thanks for the rep 'n glad it helped you!
    If you are happy with this solution, please mark the thread as "Solved". thx!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy selected range from email attachment and paste into closed workbook
    By Lisa4legin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2013, 09:32 AM
  2. [SOLVED] Looping Email- Multiple Attachments but I Only Want Selected Attachment
    By cschoyer in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-02-2012, 09:16 AM
  3. email excel file or worksheet as an attachment to multiple email addresses
    By jgeagle5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-16-2009, 03:40 PM
  4. Email selected worksheets from a workbook as attachment.
    By osoloco in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-27-2006, 08:20 PM
  5. attachment - then email from excel!
    By dj_siek in forum Excel General
    Replies: 0
    Last Post: 02-14-2006, 10:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1