Consulting

Results 1 to 3 of 3

Thread: Word Macro to create individual pdfs based on the first line of word mail merge docs

  1. #1
    VBAX Newbie
    Joined
    Nov 2019
    Posts
    2
    Location

    Word Macro to create individual pdfs based on the first line of word mail merge docs

    Hi,

    I have a macro that someone created for us that worked fine in the older version of Word. Now that we’ve upgraded to Word 2016, the macro is no longer working.

    We have a mail merge document that are invoices for our clients. We want each individual document saved as a pdf named the clients name. We added a merge field as the first line of the Word document that included the clients name. The macro was supposed to use that first line of the document and create individual pdfs using that information as the name for the files.

    Attached is the text for the macro.

    I hope someone can help figure out why this is not working in this newer version of Word. Thanks!
    Attached Files Attached Files

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    See:
    Split Merged Output to Separate Documents; or, better still
    Send Mailmerge Output to Individual Files,
    in the Mailmerge Tips and Tricks thread at: http://www.msofficeforums.com/mail-m...ps-tricks.html
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    VBAX Newbie
    Joined
    Nov 2019
    Posts
    2
    Location
    Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •