+ Reply to Thread
Results 1 to 3 of 3

Macro to send individual files via mail merge

  1. #1
    Registered User
    Join Date
    07-10-2023
    Location
    Hyderabad
    MS-Off Ver
    2016
    Posts
    1

    Exclamation Macro to send individual files via mail merge

    Hello Community,

    I have a folder with 2000 odd individual pdf files for my employees in my company.

    I am trying to seek your expert help in creating a macro which will help me assign the correct pdf file and send it to an email assigned against each filename.

    I have the employee number, PAN No (primary file name), and an email ID against each employee number.

    Looking forward to your help in this.

    Thanks,
    Pratap

  2. #2
    Valued Forum Contributor
    Join Date
    12-01-2011
    Location
    Philippines
    MS-Off Ver
    Excel 2016
    Posts
    949

    Re: Macro to send individual files via mail merge

    attached your workbook with sample data

  3. #3
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Macro to send individual files via mail merge

    I agree a workbook needs to be attached.

    Other questions
    Are the PDFs generated from the spreadsheet or existing files
    Do the PDFs exist in the same folder
    If PDFs exist, what is the matching criteria?

    There are many website giving all or half of the solution

    YOu need to loop through the emails within the excel sheet, match with the PDF and send to the email. But with no file it is hard to be more specific

    There are many website giving all or half of the solution

    https://stackoverflow.com/questions/...sing-excel-vba
    https://www.contextures.com/excelemailpdf.html

+ 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 from excel to individual pdf
    By alex.carabat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-11-2023, 07:48 AM
  2. Mail merge from excel to individual pdf
    By alex.carabat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2023, 11:26 PM
  3. [SOLVED] Excel macro for mail merge into individual word and pdf files
    By Carrol in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2020, 07:26 AM
  4. Replies: 5
    Last Post: 11-15-2018, 10:54 PM
  5. VBA / Macro / Mail Merge / Save as individual pdf files
    By Perav in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2015, 10:41 AM
  6. Send Specific Excel data to Word - Macro or Mail Merge
    By MBohse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-06-2015, 09:58 AM
  7. Macro to Mail Merge individual PDF docs as attachments to email saved in draft box
    By cstockley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-13-2013, 08:33 AM

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