The Table of Contents, List of Figures, and List of Tables are referred to as “fields” and are automatically generated by Word.
When you first open the template, these fields reflect the content of the sample pages.
It's also possible that the TOC has been unlinked or perhaps even created manually rather than with a TOC field. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Try opening the document using the Open and Repair option and see if this makes any difference. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
-- Stefan Blom Microsoft Word MVP "Ianb" wrote in message news: [email protected]
Manual solutions: In case Word 2010 file showing “Error!
Bookmark not defined” warning message, then first you need to check that name of the bookmark error and title of the paragraph in table.
As you add your text, tables, and figures you must update these fields to reflect the new content.
Next Story Range Is Nothing) Set o Story = o Story. Stepping through the code shows it exits all loops and re-starts the routine entirely at the line TOC.When you right-click, is the Update Field command greyed out? With the insertion point inside the TOC, click Ctrl Shift F11. If the command is not greyed out, what happens when you try to update? On a hunch I deleted these and the TOC is now working. Barnhill" wrote: I don't know enough VBA to give you an answer, but since removing the macros removed the problem, it seems to be a good bet that they were somehow causing it. "Ianb" Hi Suzanne The document has some macros including an autoexec.Want to add a table of contents to your Word document, one that can be easily updated if you change your doc? All you have to do is format your Word document appropriately. Format your document using heading styles found on the Home tab, e.g., Heading 1, Heading 2, and so on.Word will create your table of contents based on these headings, so do this for all of the text you want to show up in the table of contents. Place the cursor where you want the table of contents to appear (usually, the beginning of the document) 3.