#1
|
|||
|
|||
Word 2007 TOC Updates to Include Tables and Styles
I don't know what happened but a few weeks ago everytime I pressed F9 to update my TOC it would update and include tables, bulleted lists, and other styles. These styles also started appearing as sections in my Document Map. I discovered that if I closed the Document Map and then updated the TOC, it would be ok. But now nothing helps. It's a huge doc, so I can't manually build the TOC every time I make a change. Today I've noticed that when I put the cursor on the TOC and press F9, the TOC updates immediately. Before today, I used to get a dialog box, which no longer appears. Any suggestions? |
#2
|
||||
|
||||
The Document Map in some versions of Word has a bad habit of including paragraphs that look like headings. To exclude such paragraphs from the TOC, do the following: Press Alt+F9 to show field codes instead of field results. The TOC looks similar to { TOC \o "1-3" \u \z \h }. Delete the "\u" part, and press F9 to update the TOC. Press Alt+F9 again to show the field result.
The reason you don't always get a dialog box when telling Word to update a TOC is that Word decides that it must update the whole TOC. This happens if headings have been added or removed from the document.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
Thanks for your help.
Your fix definitely took care of the TOC but the Document Map still has the bulleted lists and other styles appearing as if they were section headings. Any other suggestions? |
#4
|
||||
|
||||
You will have to change the "Outline level" of the paragraphs that appear in the Document Map. Change it to "Body Text" (Paragraph dialog box). See http://word.mvps.org/faqs/general/DocumentMap.htm.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#5
|
|||
|
|||
Thanks for your time, Stefan.
But the Outline level already appears as Body Text. Funny thing: If I go to one of the bad paragraphs (a List Bullet style for example) and click on the style in the Styles pane, it corrects the problem - that specific bullet disappears from the Doc Map. But all the other problems remain. I have to do each one individually. But I cannot do this every time I open the doc. Any other ideas? Thanks again. |
#6
|
|||
|
|||
The macro at the above link did the trick. Thanks.
|
#7
|
||||
|
||||
The Document Map may apply an "Outline level" which is different from the setting in the style definition; that's the problem with the Document Map.
Reapplying the style would clear any direct formatting (= formatting not in style).
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Include Excel Tables in Book Document | SQLUSA | Word | 20 | 07-16-2012 03:59 AM |
Tables that carry hidden para styles | Ulodesk | Drawing and Graphics | 4 | 03-10-2011 08:16 AM |
Linked and botched styles in Word 2007 | Ulodesk | Word | 0 | 02-04-2011 12:03 PM |
Word 2007 allows unwanted styles in Word 2003 protected documents | jhopppppp | Word | 0 | 08-09-2010 10:45 AM |
Word 2007 Styles | PSU113 | Word | 2 | 05-01-2009 08:30 AM |