This answer describes how to embed a text file via a link to the file in MS Word as follows:
- Place your cursor where you want the file inserted
- Press
Ctrl+F9 - Type
{ INCLUDETEXT "C:\\path\\to\\file.txt" \c AnsiText }. Do not type the brackets. Do type the double-backslashes. - Press F9
I would like to know if it is possible to use a relative link. In the example the link is absolute.
I have tried using the filename field ({INCLUDETEXT "{FILENAME \\p}\\..\\..\\header.txt"}) as suggested at www.msofficeforums.com, but it didn't wrok for me using MS Office Pro 2016.