How to save mail merge as separate word documents

When using mail merge in Microsoft Word, you can save the merged documents as separate Word documents. Here's how:

Method 1: Using the "Save As" dialog box

  1. After completing the mail merge, go to the "Mailings" tab in the ribbon.
  2. Click on the "Finish & Merge" button in the "Finish" group.
  3. Select "Edit Individual Documents" from the dropdown menu.
  4. In the "Save As" dialog box, select a location to save the files.
  5. In the "File name" field, enter a prefix (e.g., "Merged_") and a suffix (e.g., ".docx") to create a unique file name for each merged document.
  6. Click "Save" to save each merged document as a separate Word file.

Method 2: Using a macro

You can also use a macro to save the merged documents as separate Word files. Here's an example macro:

  1. Open the Visual Basic Editor by pressing Alt + F11 or by navigating to "Developer" > "Visual Basic" in the ribbon.

  2. In the Visual Basic Editor, insert a new module by clicking "Insert" > "Module" or by pressing Alt + F11.

  3. Paste the following code into the module:

    Sub SaveMergedDocumentsAsSeparateFiles()
     Dim doc As Document
     Dim i As Integer
     Dim filename As String
    
     ' Set the output directory
     outputDir = "C:\Merged Documents\"
    
     ' Loop through each merged document
     For Each doc In ActiveDocument.MailMerge.MainDocumentType
         ' Set the file name
         filename = outputDir & "Merged_" & i & ".docx"
    
         ' Save the document
         doc.SaveAs filename
    
         ' Increment the file name counter
         i = i + 1
     Next doc
    End Sub
  4. Save the module by clicking "File" > "Save" or by pressing Ctrl + S.

  5. Close the Visual Basic Editor.

  6. Go back to your mail merge document and click "Finish & Merge" > "Edit Individual Documents".

  7. The macro will run and save each merged document as a separate Word file in the specified output directory.

Note: Make sure to adjust the outputDir variable to the desired location where you want to save the merged documents.