Create a Microsoft Word Mail Merge Template Using Excel Data
Question details
Create a reusable Word document template that fills case information from an Excel spreadsheet.

- Product
- Microsoft Word and Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants to populate a case document with variable fields from an Excel workbook and generate it for one selected case.
- Observed behavior
- The desired document contains the selected case's information in the appropriate fields.
Organize the Excel sheet with one case per row and a header for each field, such as Plaintiff, Defendant, and Judge. Save the workbook and note the sheet name before connecting it in Word.
Use Word Mail Merge to populate a template from Excel
Connect the workbook, insert case fields, and select one record to create a document for that case.
Open or create the document in Word. Select Mailings > Start Mail Merge > Letters, then choose Select Recipients > Use an Existing List and open the Excel workbook. Select the sheet containing the case records and confirm that the first row contains column headers.
Place the cursor where each value belongs, then select Mailings > Insert Merge Field and choose a column such as Plaintiff, Defendant, or Judge. Repeat for each variable field.
Select Mailings > Edit Recipient List. Clear the checkbox in the header row to deselect all records, then select the checkbox for the required case and choose OK.
Select Mailings > Preview Results to check the case information. Then choose Finish & Merge > Edit Individual Documents and merge all selected records to create a separate document.
In the original merge document, select File > Save As and choose Word Template (*.dotx). Keep the Excel workbook available for future merges and check the recipient selection when reopening the template.

Create case documents from Excel data in WPS Writer
Use WPS Writer's mail merge tools to connect an Excel sheet, insert case fields, and generate a populated document. For a single case, connect a sheet containing only that case.
- 1. Prepare one case: In WPS Spreadsheets, create a sheet with field names in the first row and the required case in the second row, then save the workbook.
- 2. Connect the data: Open the document in WPS Writer and select Mailings > Open Data Source. Choose the saved workbook and the sheet containing the case.
- 3. Add merge fields: Place the cursor at each variable location, then use Mailings > Insert Merge Field to add fields such as Plaintiff, Defendant, and Judge.
- 4. Create the case document: Use the preview controls on the Mailings tab to check the values, then choose Merge to New Document to generate the populated document. Save the original merge document separately for reuse.

Frequently Asked Questions
How do I merge only one case from an Excel list?
In Word, select Mailings > Edit Recipient List, clear the header checkbox to deselect all records, and then select the required case. Use Finish & Merge to create the document from the selected record.
Why don't my Excel column names appear as merge fields?
Check that the sheet's first row contains column headers and that you selected the correct sheet when connecting the workbook through Mailings > Select Recipients > Use an Existing List.
Can I reuse the document for a different case?
Yes. Save the original document containing the merge fields as a Word template through File > Save As. Reopen it, connect or confirm the Excel data source, and select the new case in Edit Recipient List.
Does the merged document keep the merge fields?
The document created through Finish & Merge > Edit Individual Documents contains the merged values. Keep the original merge document or template if you want to generate documents for other cases.




