+ Reply to Thread
Results 1 to 4 of 4

Need help in editing the current Macro to send email with multiple attachments frm Outlook

  1. #1
    Forum Contributor
    Join Date
    08-12-2013
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    147

    Need help in editing the current Macro to send email with multiple attachments frm Outlook

    Hello Guys,

    I am using a below attached Macro file as a “database” to send an email with more than one attachment.

    The Macro is look for the File names in Column A and B and pick the same files from the user defined location and attached them in new email.

    Problem is, if there no file is found with name mentioned in both Columns A and B; still an email is getting sent by outlook without any attachment.

    Can anyone help in editing the Macro to do not create an e-mail if both files mentioned in Column A and B are not found at whatever the user defined location.

    Note: Only a sample file is attached for your reference.

    Thanks,
    Manish_Gupta
    Attached Files Attached Files
    Last edited by Manish_Gupta; 01-21-2014 at 04:34 AM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need help in editing the current Macro to send email with multiple attachments frm Out

    Try this...

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    08-12-2013
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    147

    Re: Need help in editing the current Macro to send email with multiple attachments frm Out

    Hello AlphaFrog,

    Thanks for the quick response.

    Your suggested code is working good but only one option i want to get edit that whenever "File Not Found" error occurs Macro automatically jump to Next i or Next cell instead exiting from Macro / exit sub.

    Thanks,
    Manish_Gupta

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need help in editing the current Macro to send email with multiple attachments frm Out

    Please Login or Register  to view this content.

+ 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. Excel containing macro to send bulk mails from outlook with multiple attachments
    By amandeep08 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2013, 02:19 PM
  2. Email Macro o send Outlook Email
    By asivaprakash in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2013, 07:05 PM
  3. [SOLVED] Need help editing macro to send email when due date has arrived or passed.
    By EHarvill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2012, 12:41 PM
  4. [SOLVED] Excel Macro to download email attachments from MS Outlook.
    By abhay_547 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-06-2010, 02:10 PM
  5. adding multiple attachments to a macro in excel for a email using outlook
    By ccbltdneedhelp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-12-2009, 11:03 AM

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