A family of Microsoft word processing software products for creating web, email, and print documents.
I am sorry, but I cannot tell you how to do this in Word online, or that you can do it in Word online. Word online was designed and remains an ancillary program for those using the desktop applications. It can't do what you want.
For documents that are important or in any way complex, use the desktop application for creation and any editing.
The Different Programs from Microsoft named "Word." a pdf https://addbalance.com/word/download.htm#MicrosoftWordPrograms
The online and mobile apps are suitable for short non-complex documents (i.e., class or meeting notes). You can use them to view and print documents created and edited in the Online applications.
References:
- pdf - Quick Reference Card for Headers, Footers, and Page Numbers https://www.addbalance.com/word/download.htm#hfQuickReference
- Page Numbers in Word: https://www.addbalance.com/usersguide/sections2007.htm#PageNumbers
- How to Create a Table of Contents by Shauna Kelly: https://www.shaunakelly.com/word/numbering/tableofcontents.html
- TOC Tips and Tricks by Suzanne Barnhill: [http://wordfaqs.ssbarnhill.com/TOCTips.htm] (you will have to paste the URL into your browser)
This is a user-to-user support forum.
Microsoft is not hearing about your problems from what you post here. You are discussing a problem with your fellow users here. We can give good advice about how to work with Word as it is and give suggestions for making it work properly.
Designers and their supervisors do see feedback. (You will almost certainly not get a direct response to that feedback but they do see it.)
Here is more about that:
I suggest using the public feedback portal so other users can see your feedback, comment and vote. If you want, you can post the URL of your feedback with your question here to lead others with the same problem to your feedback. Be the “squeaky wheel” that gets fixed!