212346. How to create a table of contents and index with field codes in Word. (https://support.microsoft.com/kb/212346/). 1  Put the cursor at the beginning of the text that you want to appear in the table of contents without a page number, and then select the text.2  Click Copy on the Edit menu. On the Insert menu, click Field. 2  Note For information about how to use the Field dialog box for a table of contents entry that contains no page number, see steps 5 through 9 of the How to create a TOC entry without a page number section. 3  On the View menu, click Options.