+ Reply to Thread
Results 1 to 4 of 4

Removing attachments from Mail Envelope

  1. #1
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Lansing, Michigan
    MS-Off Ver
    2016
    Posts
    140

    Removing attachments from Mail Envelope

    On Sheet1, I have a Macro that adds an attachment as intended and sends an email. On Sheet2, I have another macro that also sends an email, but the attachement from Sheet1 is still attached. Is there a way to reset the mail envelope or remove the attachment after the email sends?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Removing attachments from Mail Envelope

    You could change this
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Click the * to say thanks.

  3. #3
    Forum Contributor
    Join Date
    08-10-2017
    Location
    Lansing, Michigan
    MS-Off Ver
    2016
    Posts
    140

    Re: Removing attachments from Mail Envelope

    Thank you, but I dont believe that will work. I have two seperate macros for each sheet that are assigned to command buttons. Sheet 2 will never be active while the macro for sheet1 is ran. I also forgot to remove the ".Attachments.DeleteAll" in the code from my inital post if that makes any difference.

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Removing attachments from Mail Envelope

    Then, if you have 2 different macros then don't use ActiveSheet, use the actual sheet for every instance.

+ 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. Mail Merge with CC and Attachments
    By arshad.99.ali in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-14-2020, 04:41 AM
  2. .send not working via mail envelope
    By igoodable in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2019, 01:45 PM
  3. Attachments in Mail
    By shyam sundar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2013, 04:48 PM
  4. Trying to save mail attachments with the mail subject as the filename
    By thereth in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2010, 05:31 AM
  5. E-Mail attachments won't save
    By Bjohnst in forum Excel General
    Replies: 0
    Last Post: 10-04-2007, 02:21 PM
  6. Creating TWO-WAY E-Mail Attachments with 'BeforeSave Events' in Code for 2nd E-Mail
    By Chuckles123 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-08-2005, 12:56 PM
  7. E-mail Attachments
    By STEVEB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2005, 11:28 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