A family of Microsoft word processing software products for creating web, email, and print documents.
Hi Margaret,
Regarding your concern, since selecting an entry takes you to the correct heading, the headings and TOC links are working correctly. The page numbers issue is likely due to the Word for the Web limitation. An automatic TOC is based on heading styles and automatically updated after page or heading changes. However, Word for the Web uses a lighter layout engine and calculates pagination differently compared to the Word desktop app.
That's the reason, for advanced Word formatting like TOC, sections, footnotes/endnotes, etc., I highly recommend using the Word desktop version for reliable advanced pagination and final document formatting. You can continue using Word for the Web, but for basic editing and collaboration only.