#1
|
|||
|
|||
Tables of Content
I had a working table of content but after saving file when next opened the table had grabbed random lumps of text (from the right chapter), filling several pages of my document.
Removing the table does not work. When making a new one the old one keeps coming back. Deleting the surplus text does not work either. Advice please, Deebles |
#2
|
||||
|
||||
Usually, tables of contents are built using styles. If you select the entire TOC and then right click and choose to Toggle the Field Code, you can see how your TOC is configured. This will give you a hint as to what styles are being used in the TOC. You can then go through your document and make sure that the paragraphs that SHOULDN'T appear in the TOC are not using that style.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
The table of contents is picking up exactly what you have told it to!
Chances are good that it is based on heading styles. Go to the text that is showing up in your TOC and Ctrl+Click on the text that should not be there to go to it in the document. See what style is applied. It should not be one that you have set to show up in your TOC. It may look like body text but likely has a heading style applied. Try pressing Ctrl+Shift+N. Then update your TOC (entire table). |
#4
|
||||
|
||||
First thing to try is to delete the \u switch (which includes paragraphs with direct "Outline level" formatting) from the TOC field code.
To show/hide field codes, press Alt+F9 (or Alt+Fn+F9 on some keyboards).
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Joining Tables with Index and Match for cell content with >256 characters | yeasayer | Excel | 1 | 07-23-2018 12:54 PM |
Dropdown content control and tables | hrzagi | Word | 1 | 12-17-2017 09:38 PM |
Code to Sum Column of Content Control Values In Specific Tables? | warbird | Word VBA | 2 | 07-13-2015 05:44 AM |
Update fields and Tables of Content with one macro | brent chadwick | Word VBA | 7 | 03-11-2015 07:21 AM |
Forms fields: edit content easily in tables | kirby gilman | Word | 8 | 12-04-2014 08:43 AM |