Dear Darola,
Good day! Thank you for your detailed information. We are here to assist you.
I did the test, and you can follow below steps to ensure your table of contents (TOC) displays indented sub-sections without losing their numbering:
- Ensure Proper Heading Styles: Make sure each section and sub-section in your document is formatted with the appropriate heading styles (e.g., Heading 1, Heading 2, Heading 3). This helps Word recognize the hierarchy.
- Modify TOC Styles by Click inside your TOC to activate it. >> Go to the References tab and select Table of Contents > Custom Table of Contents.>> In the dialog box, click on Modify. This will open the Style dialog box.>>Select the TOC level you want to modify (e.g., TOC 2 for level 2 headings) and click Modify.>> In the Modify Style dialog box, click Format > Numbering to ensure numbering is applied.>> Adjust the indentation by clicking Format > Paragraph and setting the Indentation values.>> Click OK to apply the changes.
- Update the TOC: After modifying the styles, update your TOC by right-clicking it and selecting Update Field > Update entire table.
Here is the screenshot of my result. Kindly note that to go in sub section I was suing Tab key from the keyboard as enter key is directly taking me in next section not in sub section.
Please understand that our initial response does not always resolve the issue immediately. However, if you have any problem in above steps or not getting desired outcome, please share more detailed information, we can work together to find a solution.
Have a great day and take care! 😊
Sincerely,
Naren | Microsoft Community Moderator