Fix Blank Lines in Microsoft Word Mail Merge Labels
Question details
The user needs to remove unwanted blank lines from mail merge labels when company or person fields are empty.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Creating labels from a mail merge main document and a data source with some empty company-name or person-name fields.
- Observed behavior
- Blank lines appear on later label pages even though empty fields appear to be suppressed on earlier pages.
Open the original mail merge main document and locate its connected data source. Check which records and fields produce blank lines so you can compare them with the label layout.
Inspect the label layout and empty source fields
Use this approach to find hidden characters or spacing that may prevent Word from suppressing an empty field line.
In Word, open the original label mail merge document, not the document produced by Finish & Merge. Go to Mailings and confirm that the data source is connected.
On the Home tab, select the Show/Hide ¶ button. Inspect the lines containing the company and person merge fields for extra paragraph marks, spaces, tabs, or manual line breaks.
Remove unintended characters from lines that should disappear when a field is empty. Keep the merge fields and any Next Record fields needed to advance between labels.
Open the data source in its original application and inspect the affected company-name and person-name cells. Remove spaces or other characters from cells intended to be empty, then save the data source.
Return to the main document and use Mailings > Preview Results to inspect affected records. Select Finish & Merge > Edit Individual Documents, then check both early and later label pages.
Rebuild the label merge document
Try a fresh label layout if the original main document still produces inconsistent results after its fields and data are checked.
Work with Label Documents in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with documents and spreadsheets. Its Microsoft Office format compatibility makes it easier to move existing files into WPS, although it does not fix Word-specific mail merge behavior.

Frequently Asked Questions
Why do blank lines appear when a merge field looks empty?
The source cell may contain spaces, or the label line may contain extra spaces, tabs, paragraph marks, or manual line breaks. Check the source cell and turn on Home > Show/Hide ¶ in the main document.
Why does error 5852 appear when I run a merge command?
The command may have been run on the completed merge output rather than the mail merge main document. Open the original label document and use its Mailings tab instead.
How can I check labels on later pages?
In the main document, use Mailings > Finish & Merge > Edit Individual Documents. Inspect the resulting document, including pages containing records with empty company or person fields.
What should I share if the blank lines persist?
Share anonymized copies of the mail merge main document and its data source for investigation. Identify records where the company or person field is empty and a blank line appears.




