How to Prevent Word INCLUDETEXT Fields from Changing Quotes
Question details
The user needs a way to prevent Word from altering and repositioning quotation marks within INCLUDETEXT fields, which causes errors with filenames and bookmarks upon reopening.

- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Editing an existing INCLUDETEXT field in a Word document.
- Observed behavior
- When editing an existing INCLUDETEXT field through the Edit Field dialog, Word strips quotation marks from the file path and incorrectly places them around the entire argument, resulting in filename or bookmark errors.
Before manually modifying field codes, ensure you know the exact file path or relative path of the document you wish to include to prevent broken links.
Edit the Field Code Directly (Recommended)
Bypassing the Edit Field dialog and editing the field code directly prevents Word from incorrectly stripping and repositioning the quotation marks.
The Edit Field dialog has a known behavior where it strips quotation marks from existing INCLUDETEXT arguments and incorrectly places them around the entire string, which breaks the file path syntax.
Select the INCLUDETEXT field in your document and press Shift + F9 to toggle the display of the underlying field code.
Edit the text directly inside the curly brackets. Ensure your quotation marks are strictly placed around the file path. For example: { INCLUDETEXT "\\source.docx" sample \* MERGEFORMAT }.
Press F9 to update the field with your new changes, then press Shift + F9 again to hide the code and display the inserted text.

Test for Document Corruption or Add-in Interference
If directly editing the code does not resolve the quotation mark issue, the document may be corrupted or a third-party add-in might be interfering.
Edit Documents Flawlessly with WPS Office
Frustrated by Microsoft Word formatting bugs and field code errors? WPS Office offers a free, lightweight, and highly compatible alternative that handles complex document editing tasks without the typical software glitches.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Your Document: Launch WPS Writer and seamlessly open your existing Microsoft Word (.docx) files.
- 3. Edit Fields with Ease: Use the built-in field editing tools to insert and manage INCLUDETEXT references without formatting errors.

Frequently Asked Questions
What is an INCLUDETEXT field in Word?
An INCLUDETEXT field is a dynamic code used in Microsoft Word to pull text and graphics from another document into the current one, making it easy to update content across multiple files simultaneously.
Why does the Edit Field dialog break my file paths?
The Edit Field dialog often misinterprets existing syntax. It strips the quotation marks from the file path argument and wraps them around the entire field string instead, which invalidates the path structure and causes errors.
How do I view all field codes in my document at once?
You can press Alt + F9 on your keyboard to toggle the display of all field codes throughout the entire document at once, rather than selecting them individually.
Should I use relative paths in INCLUDETEXT fields?
Yes, using relative paths is highly recommended. It ensures your links remain intact even if you move the entire project folder to a different drive or share it with another user.




