+ Reply to Thread
Results 1 to 3 of 3

Add file to mail from excel

  1. #1
    Registered User
    Join Date
    08-24-2017
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    3

    Add file to mail from excel

    I've made an Excel file that automatically adds the first two sheets to a email. But I also want that Excel adds the last added file from a particular map. Is that possible?

    In the link below you will find my Excel file. When you push the button "Mail verzenden" outlook will open an new email.


    WeTransfer: we.tl/WmyEYGo5yV

    Please Login or Register  to view this content.
    Last edited by Sipers; 03-13-2018 at 09:45 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Add file to mail from excel

    To add more attachments you can repeat this line found near the bottom of your code.

    Please Login or Register  to view this content.
    where filepath is the full path name of the file you want to attach. But I can't provide the actual code because there is no context for what files are added (or added to what) or what a map is.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    08-24-2017
    Location
    Amsterdam
    MS-Off Ver
    2016
    Posts
    3

    Re: Add file to mail from excel

    Quote Originally Posted by 6StringJazzer View Post
    To add more attachments you can repeat this line found near the bottom of your code.

    Please Login or Register  to view this content.
    where filepath is the full path name of the file you want to attach. But I can't provide the actual code because there is no context for what files are added (or added to what) or what a map is.
    Lets say the map is: \\abw-fs01\home$\Jantje\Documents\My Pictures

    How do I convert this is my code?

+ 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 in Excel file
    By nitinmb in forum Excel General
    Replies: 1
    Last Post: 07-29-2017, 05:15 AM
  2. [SOLVED] screenshot text file and embed in outlook mail through excel with mail info
    By bmbalamurali in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 01-11-2015, 08:21 PM
  3. How to e-mail selected row and use e-mail address in a cell to send e-mail from excel
    By syedalamgir in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-27-2010, 02:15 AM
  4. Mail Merge from Excel file
    By juamig in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2006, 07:55 PM
  5. Replies: 2
    Last Post: 11-25-2005, 06:50 AM
  6. how to delete an excel file? how to e-mail a worksheet?
    By mailman in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-25-2005, 06:05 AM
  7. [SOLVED] burn a ** of an excel file that I got from e-mail
    By awoosoul in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-29-2005, 10:06 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