How to Save Mail Merge Results as Individual PDFs
🔍 WiseChecker

How to Save Mail Merge Results as Individual PDFs

After running a mail merge in Word, you often end up with one large document containing all letters, invoices, or labels. Saving each merged record as a separate PDF file is not a built-in single-click feature. This article explains three reliable methods to split a mail merge output into individual PDFs: using a VBA macro, using a dedicated third-party tool, and using Word’s built-in PDF export with manual splitting. You will learn the exact steps for each approach and how to choose the best one for your workflow.

Key Takeaways: Three Ways to Create Individual PDFs From Mail Merge

  • VBA macro with ExportAsFixedFormat: Automates saving each merged record as a separate PDF with a single click
  • Third-party add-in like Mail Merge Toolkit: Provides a graphical interface for splitting and saving without writing code
  • Manual split via Save As PDF: Use Word’s built-in PDF export and delete pages to isolate each record one at a time

ADVERTISEMENT

How Mail Merge Produces a Single Document and Why You Need to Split It

When you complete a mail merge in Word, the final output is a single document with a section break between each record. This happens because Word merges your data source records into one continuous file. The document contains every letter, invoice, or label stacked sequentially. Word does not offer a native command to export each record as an individual PDF file. To get separate PDFs, you must either automate the process with a macro, use a third-party tool designed for this task, or manually split the document using Word’s PDF export and page deletion. The method you choose depends on your technical comfort level, the number of records, and how often you perform this task.

Method 1: Save Individual PDFs Using a VBA Macro

A VBA macro is the most efficient way to split a mail merge document into individual PDFs. This method works with Word 2010 and later on Windows. The macro loops through each record in the merged document, selects one record at a time, and saves it as a PDF. You need to enable the Developer tab to access the VBA editor.

  1. Open the Developer tab
    In Word, go to File > Options > Customize Ribbon. Under Customize the Ribbon, check the box next to Developer and click OK.
  2. Open the VBA editor
    On the Developer tab, click Visual Basic. Alternatively, press Alt+F11.
  3. Insert a new module
    In the VBA editor, go to Insert > Module. A blank code window appears.
  4. Paste the macro code
    Copy and paste the following code into the module window:


    Sub SaveMailMergeAsIndividualPDFs()
    Dim i As Integer
    Dim doc As Document
    Dim pdfName As String
    Dim folderPath As String

    folderPath = "C:\MailMergePDFs\" ' Change this to your folder
    Set doc = ActiveDocument

    For i = 1 To doc.Sections.Count
    doc.Sections(i).Range.Copy
    Documents.Add
    Selection.Paste
    pdfName = folderPath & "Record_" & i & ".pdf"
    ActiveDocument.ExportAsFixedFormat OutputFileName:=pdfName, _
    ExportFormat:=wdExportFormatPDF
    ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
    Next i
    End Sub

  5. Adjust the folder path
    In the code, change "C:\MailMergePDFs\" to the folder where you want the PDFs saved. Make sure the folder exists before running the macro.
  6. Run the macro
    Close the VBA editor. On the Developer tab, click Macros, select SaveMailMergeAsIndividualPDFs, and click Run. Word creates one PDF per record in the specified folder.

ADVERTISEMENT

Method 2: Use a Third-Party Add-In

If you prefer not to use VBA, several third-party add-ins provide a graphical interface for splitting mail merge output. Mail Merge Toolkit and Able2Extract are two popular options. These tools install as a new tab or menu in Word and offer a Split to PDF command. The exact steps vary by add-in, but the general workflow is the same.

  1. Install the add-in
    Download and install the add-in from the vendor’s website. Restart Word after installation.
  2. Open the merged document
    Open the document that contains the completed mail merge output. This is the document Word created after you finished the merge.
  3. Locate the split command
    Look for a new tab or toolbar group added by the add-in. For Mail Merge Toolkit, go to the Mailings tab and click Split to PDF.
  4. Configure output settings
    In the dialog that appears, choose a destination folder and a file naming pattern. Most add-ins let you use merge fields like FirstName or InvoiceNumber as part of the file name.
  5. Run the split
    Click OK or Split. The add-in processes each record and saves individual PDFs in the chosen folder.

Method 3: Manual Splitting Using Word’s PDF Export

For a small number of records, you can manually split the merged document. This method does not require any code or additional software. It works best when you have fewer than 10 records.

  1. Save the merged document as PDF
    Open the merged document. Go to File > Save As, choose PDF from the Save as type list, and click Save. This creates one PDF containing all records.
  2. Open the PDF
    Open the saved PDF in Adobe Acrobat Reader or any PDF editor that supports page extraction.
  3. Extract the first record
    In Adobe Acrobat Reader, go to Organize Pages. Select the pages for the first record. Right-click and choose Extract Pages. Save the extracted pages as a new PDF file.
  4. Repeat for each record
    Repeat step 3 for each remaining record in the PDF. Name each file appropriately.

Common Pitfalls and How to Avoid Them

VBA macro runs but no PDFs appear in the folder

The most common cause is a typo in the folder path in the macro code. Verify that the folder exists and the path ends with a backslash. Also check that Word can write to that location. If the folder is on a network drive, try a local folder first.

Third-party add-in does not appear after installation

Some add-ins require you to enable them manually. Go to File > Options > Add-Ins. At the bottom, next to Manage, select COM Add-ins and click Go. Check the box next to the add-in name and click OK.

Manual splitting produces PDFs with wrong page ranges

If your merged document uses continuous section breaks instead of page breaks, a single record may span multiple pages. Count the number of pages each record occupies before extracting. Use the section break markers as visual guides in Word to confirm record boundaries.

VBA Macro vs Third-Party Add-In vs Manual Split

Item VBA Macro Third-Party Add-In Manual Split
Setup time 5-10 minutes 2-5 minutes No setup
Cost Free Usually $20-$50 one-time Free
Skill required Basic VBA knowledge None None
Speed for 100 records Under 1 minute Under 1 minute 30-60 minutes
File naming flexibility Customizable via code Uses merge fields Manual naming

You now have three ways to convert a single mail merge document into individual PDF files. The VBA macro is the fastest and most flexible option for frequent use. The third-party add-in is best if you prefer a graphical interface and do not want to write code. Manual splitting works for small batches with minimal setup. After choosing a method, test it with a few records before processing your entire data set. For advanced automation, consider combining the VBA macro with a folder monitoring script that triggers the split whenever a new merged document is saved.

ADVERTISEMENT