logo
search
File Cannot Open

How to Fix Word Mail Merge INCLUDETEXT Errors and Security Warnings

Adam DavisAdam Davis Oct 21, 2026 869 views

Question details

Users are encountering an "Error! Cannot open file" message and unexpected security warnings when executing mail merge operations involving INCLUDETEXT fields.

How to Fix Word Mail Merge INCLUDETEXT Errors and Security Warnings
Product
Microsoft Word
Device & OS
not provided
Scenario
Performing mail merge operations that rely on INCLUDETEXT or nested INCLUDEPICTURE fields after a recent Microsoft Office update.
Observed behavior
Text and RTF files fail to load properly, displaying an error message instead of the content, and updating these document fields triggers a security warning.
Before you start

Ensure all file paths referenced in your INCLUDETEXT fields are correct and accessible, and verify that you have administrative privileges if you need to modify the Windows Registry.

Solution 1Recommended

Manually Update All Document Fields

Updating fields manually using keyboard shortcuts often bypasses the automated security warning and correctly processes the mail merge.

Recent Office updates have altered how automatic field updates are handled for security reasons. Forcing a manual update across the entire document can resolve the display errors and suppress the warning prompt during the mail merge process.

1
Select all document content

Click anywhere inside your Word document and press 'Ctrl + A' on your keyboard to highlight all text and fields.

2
Update the fields

Press the 'F9' key to manually force all selected fields to update. Verify that the included files and paths are now displaying correctly without triggering the security prompt.

Manually Update All Document Fields
Quick Fix: Using the Ctrl+A and F9 shortcut is the safest and fastest way to bypass the error without making system-level registry changes.
Free Microsoft Office alternative

Experience Error-Free Mail Merging with WPS Office

If Microsoft Office updates are causing workflow disruptions and INCLUDETEXT errors, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative with intuitive mail merge capabilities without requiring complex registry configurations.

100% compatible with Microsoft Word (.docx) formats.Built-in, easy-to-use Mail Merge feature without complex field errors.Free and lightweight alternative to Microsoft Office.Familiar user interface for seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

What does 'Error! Cannot open file' mean in a mail merge?

This error means the word processor cannot locate, read, or access the external file specified in your INCLUDETEXT field. This usually happens if the file path is incorrect, the file was moved, or security settings are blocking access.

Why did INCLUDETEXT stop working after an Office update?

Microsoft occasionally updates security protocols for linked files and dynamic fields to protect users from malicious code. These updates can sometimes restrict automatic field updates, triggering security warnings and blocking file access during a merge.

Can Group Policy prevent me from fixing the security warning via the registry?

Yes. If you are on a company network, network administrators can enforce Group Policy settings that override your local registry changes for Office field updates. In such cases, the DisableWarningOnIncludeFieldsUpdate key will not work.

How do I quickly update all fields in my document at once?

You can quickly update all fields by pressing Ctrl+A to select the entire contents of the document, and then pressing the F9 key to force all fields to refresh.