How to Fix Word Mail Merge Moving Text Boxes and Fields
Question details
User needs a way to prevent floating objects like text boxes and fields from moving and ruining the layout during a document mail merge.

- Product
- Microsoft Word 2019
- Device & OS
- not provided
- Scenario
- Executing a mail merge operation using a template that contains floating text boxes and independent shapes.
- Observed behavior
- Floating text boxes, fields, and independent shapes unpredictably shift position when the merge executes, misaligning the final document layout.
Before making structural changes, save a backup copy of your original mail merge template to prevent losing your initial design.
Replace Floating Text Boxes with Tables for Stability
Tables provide a rigid, fixed structure that prevents elements from shifting dynamically during a mail merge layout generation.
Floating objects anchor to text paragraphs. When mail merge inserts dynamic data, the text length changes, pushing anchors and moving the attached text boxes. Replacing them with tables eliminates this anchor dependency.
Delete the unstable floating text boxes and independent shapes in your current document.
Go to the 'Insert' tab and select 'Table' to create a layout grid, such as a two-column table, that mimics your desired design.
Place your cursor inside the appropriate table cells and insert your mail merge fields directly into the grid.
Select the table, right-click, choose 'Table Properties', and fix the exact column widths and row heights so they do not auto-resize.
Select the entire table, navigate to the 'Borders' menu under 'Table Design', and choose 'No Border' so the structure remains invisible on the final print.

Lock Anchor Points and Text Wrapping Settings
If you must use text boxes instead of tables, locking their anchor points restricts how far they can move during the merge.
Perform Flawless Mail Merges with WPS Writer
Avoid layout nightmares by performing your mail merges in WPS Writer. It seamlessly handles complex tables and layouts without shifting, offering full compatibility with your existing Microsoft Word documents and Excel data sources.
- 1. Open your files in WPS Writer: Launch WPS Writer and open your existing document template.
- 2. Start the Mail Merge process: Navigate to the 'References' tab on the top ribbon and click on 'Mail Merge'.
- 3. Connect your data source: Click 'Open Data Source' and select your Excel spreadsheet or database containing the contact information.
- 4. Insert merge fields: Click 'Insert Merge Field' to place your dynamic data accurately into your stabilized table cells.
- 5. Complete the merge: Click 'Merge to New Document' or 'Merge to Printer' to generate your final, perfectly formatted files without any shifted elements.

Frequently Asked Questions
Why do text boxes move during a mail merge?
Text boxes are floating objects anchored to paragraphs. When a mail merge populates fields, paragraph lengths dynamically change. This pushes the text down, causing the anchors—and their attached text boxes—to shift unpredictably down the page.
Will nested tables show borders on my printed mail merge?
No, you can easily hide table borders. Select the entire table, navigate to the 'Table Design' tab, and select 'No Border'. The table will still hold your fields securely in place without displaying any visible lines on the final document.
Can I test my mail merge layout before printing hundreds of pages?
Yes. Always use the 'Preview Results' feature to toggle through a few records. Alternatively, you can perform a test merge on a small subset of records (for example, records 1 to 3) to verify that your layout remains completely stable.
How do I align multiple merge fields side by side without text boxes?
Insert a multi-column table where each column holds a specific merge field. You can adjust the cell margins, alignment, and column widths to perfectly space the data horizontally without relying on floating shapes.




