1. Take word20 16 as an example. After entering the text and chapters, click the reference above, click the directory in the options, and select the automatic directory.
2. Then you can modify the page number directly in the table of contents.
3. In addition, you can refer to "Update Table of Contents" to modify the page number.
4. Click Update Table of Contents, select Update Page Numbers Only, and then click OK.