+ Reply to Thread
Results 1 to 3 of 3

Name Individual Mail Merge Documents from Excel List

  1. #1
    Registered User
    Join Date
    11-09-2018
    Location
    USA
    MS-Off Ver
    365
    Posts
    59

    Name Individual Mail Merge Documents from Excel List

    I have VBA (below) that correctly creates individual documents from a mail merge, based on my excel list. What I want to do is name the files I create, with the addressee's name in the individual document. (i.e., file created for John Doe needs to be saved as "John_Doe") Does the code I have below need to be edited, or is this something I would initiate in Excel with VBA?

    Thanks

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Name Individual Mail Merge Documents from Excel List

    Seeing just this code snippet it's not too easy to say. But probably yes, the code could be ammended and instead of
    Please Login or Register  to view this content.
    some reference to mailmerge data can be done (may be Excel file is still open?). or may be refering to specific location on the page (in header?)

    But without sample and rest of your setup it's just guessing.

    Another approach would be to write it from the start and merge not all records at once but record by record. See such old Word macro from my archives (original thread on Polish forum http://www.excelforum.pl/topics4/zap...ow-vt21468.htm ):


    Please Login or Register  to view this content.
    This macro is in Word file (either .doc or .docm extension needed) see attached sample file and source data, copy both in the same folder and run (Alt+F8) the macro.
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    11-09-2018
    Location
    USA
    MS-Off Ver
    365
    Posts
    59

    Re: Name Individual Mail Merge Documents from Excel List

    Kaper,

    Thanks for the response. Attached is a sample of what my Mail Merge data looks like.

    My process is this: Initiate Mail merge in Word, using data from Excel. Save Mail Merged documents as one file. Run macro from Original Post in Word, to create separate documents.

    If keeping the workbook open is the easiest way to handle my request, that would be preferred.

    Thanks!
    Attached Files Attached Files

+ 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. [SOLVED] Mail Merge to create separate PDF documents
    By Phlegon_of_Tralles in forum Word Formatting & General
    Replies: 9
    Last Post: 03-30-2021, 10:57 AM
  2. Formular for mail merge individual picture from excel
    By issa.o in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2019, 03:20 AM
  3. Replies: 5
    Last Post: 11-15-2018, 10:54 PM
  4. Mail Merge Excel Info into Multiple Different Word Documents
    By hilarymorton2003 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2016, 12:28 AM
  5. [SOLVED] Documents created from mail merge won't print
    By mgs73 in forum Word Formatting & General
    Replies: 7
    Last Post: 02-28-2016, 08:05 PM
  6. Excel/Word Mail Merge, saving as individual documents using two mergefields as name
    By flakjack in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2016, 12:34 PM
  7. how do I use mail merge in excel for word documents
    By Lisa J Duffy in forum Excel General
    Replies: 1
    Last Post: 08-04-2005, 09:05 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