The real error which prevents Word from opening the file is not at the place that it displays (its Unspecified Error, just close to a </w:tbl> ending tag). An error often occures when a field is included in another field. An content control, an index field for example, may have been manually or automatically inserted in the Table of Contents, which is also a field.
This is a bug of Word which is today seemingly not corrected.
In the case when the problem is due to one or more fields inserted in the table of contents :
Let us assume that the doc is named MYDOC.docx for example.
1. Rename MYDOC.docx to MYDOC.zip
2. Unzip MYDOC.zip to the MYDOC/ folder
3. In MYDOC/word/, there is a file named document.xml
4. Open document.xml in Notepad++ (for example)
5. Go to the place where the Table of Content begins, by looking for the pair of tags <w:fldChar w:fldCharType="begin"/> ... TOC ... <w:fldChar w:fldCharType="end"/> which contains a TOC field inside.
6. Look for " XE " without quotes after that (maybe without spaces), quickly verify that we still are in the table of content.
7. Look for the surrounding tags w:fldChar which encloses this " XE " : <w:fldChar w:fldCharType="begin"/> ... XE ... <w:fldChar w:fldCharType="end"/>
8. Delete those two tags and the inner content (we just deleted the bad index entry)
9. If there are more (in the case when it was automatic for example), just repeat steps 6 to 8, until we are no more in the table of contents.
10. Once it's done, zip the folder MYDOC/ to MYDOC_REPAIRED.zip (for example)
11. Rename MYDOC_REPAIRED.zip to MYDOC_REPAIRED.docx (facultative step)
12. Open this last file with word, and hope that it was the only error
Cordially yours,
The programming assistant of Upbraining.net