I see {INDEX}, {TOC}, or other codes instead of my index or table

Cause: Word is set to display field codes.

Solution: Change Word settings to hide field codes.

An index, table of contents, or other table is inserted in your document as a fieldA set of codes that instruct Word to automatically insert text, graphics, page numbers, and other information into a document. For example, the DATE field inserts the current date, and the TIME field inserts the current time. You can also use fields to insert variable data into data-merge documents, such as form letters.. If you see something like {INDEX}, {TOC}, or {TOA} instead of the index or table, the field codesPlaceholder text that shows where information from your data source will appear; the elements in a field that generate a field's result. The field code includes the field characters { }, field type, and instructions. are being displayed instead of field results.

  1. Select the entire document.

  2. Press OPTION+F9 to show or hide all field codes.

    Note  Some keyboards might require you to press FN+OPTION+F9.