Symptoms

When viewing a Microsoft Word document generated by HelpNDoc, the page numbers displayed in the table of contents are wrong.


Solutions

HelpNDoc generates fields for the page numbers in the table of contents of Microsoft Word documents. They are automatically managed and update by Microsoft Word and they are usually updated when printing the document. It is possible to force the update of those fields by selecting the whole table of contents in Microsoft Word, then hit the F9 keyboard shortcut.