How to Correct the INCLUDETEXT Field Path in Microsoft 365
Question details
The user needs to correctly format the file path within an INCLUDETEXT field to successfully insert bookmarked text from a source document.
- Product
- Microsoft Word 365
- Device & OS
- not provided
- Scenario
- Attempting to link and insert specific bookmarked text from a source document stored in a local folder or OneDrive into another Word document.
- Observed behavior
- The INCLUDETEXT field fails to retrieve the text, rejecting both the OneDrive URL and standard local File Explorer path formatting.
Ensure that your source document is fully synced to your local drive from OneDrive, as field codes generally cannot parse direct web URLs.
Manually Format the File Path Syntax
Adjust the backslashes and bookmark placement within the field code to ensure Word reads the local directory path correctly.
Microsoft Word requires specific syntax for file paths inside field codes. Single backslashes copied from File Explorer will cause the link to break. You must use double backslashes and properly isolate the bookmark name.
Press 'Alt + F9' (or 'Option + F9' on Mac) to reveal the hidden field codes in your Word document.
Locate your INCLUDETEXT field. Change all single backslashes in the local file path to double backslashes. Make sure the entire file path is enclosed in quotation marks.
Place the exact bookmark name outside the quotation marks at the end of the code. The final format should look like this: { INCLUDETEXT "C:\\Users\\Name\\Documents\\SOURCE.docx" bookmarkname }
Press 'F9' to update the field code and display the inserted text, then press 'Alt + F9' again to hide the codes.
Insert the Field Using the Quick Parts Menu
Let Microsoft Word handle the exact path formatting automatically by using the built-in Field dialog box.
Try WPS Office for Seamless Document Editing
If complex field codes and Microsoft 365 syncing issues are slowing down your workflow, WPS Office provides a highly compatible and intuitive alternative. Easily insert objects and text from other files without worrying about strict path formatting.
- 1. Open WPS Writer: Launch WPS Writer and place your cursor where you want the external text to appear.
- 2. Use Text from File: Go to the 'Insert' tab, click the dropdown arrow next to 'Object', and select 'Text from File'.
- 3. Select Your Document: Browse your local or synced folders, select the source document, and click 'Insert' to seamlessly merge the text.

Frequently Asked Questions
Why doesn't the INCLUDETEXT field work with OneDrive web URLs?
Word's INCLUDETEXT field requires a local system file path to process the document. Web URLs (starting with https://) from OneDrive cannot be parsed directly by the local field code engine, which expects standard local directory formatting.
How do I update an INCLUDETEXT field after changing the source file?
To reflect changes made in the source document, click anywhere inside the inserted text in your destination document and press F9. Alternatively, press Ctrl+A to select the entire document and press F9 to update all fields simultaneously.
Can I insert only a specific paragraph using INCLUDETEXT?
Yes. First, highlight the specific paragraph in the source document, go to Insert > Bookmark, and assign it a name. Then, in your destination document, add that exact bookmark name to the end of your INCLUDETEXT field code outside the quotation marks.




