Uncle Jim's Web Designs
Development Tools for the Internet and Your Computer

Microsoft Word Tutorial


Macros Table of Contents Web Wizard

Word will automatically create a Table of Contents page if a document is designed using Heading and Paragraph styles (see the Styles section). Follow the steps on this page to create a Table of Contents.

Table of Content Entries
  1. Highlight a heading that you would like to appear in the Table of Contents (TOC).
  2. Press ALT+SHIFT+O and the Mark Table of Contents Entry box will appear.
    [Mark Table of Contents Entry window]
  3. Entry - Rename the entry if you would like a different heading to appear in the TOC.
  4. Table identifier - Select "C".
  5. Level - Choose "1" for first-level heading, "2" for second-level heading, etc.
  6. Click the Mark button.
  7. The document will be toggled to "reveal codes" view and notice the TOC field code. To hide all codes click the Show/Hide codes button [Show/Hide codes button] on the standard toolbar.
  8. Select another heading to add to the TOC, or click the Close button on the Mark Table of Contents Entry dialog box.

Generate Table fo Contents

After you have marked all the headings for your TOC, follow these steps to generate the Table of Contents.

  1. Place the cursor where you would like the TOC to appear in the document.
  2. Select Insert|Index and Tables from the menu bar.
    [Index and Tables window]
  3. Customize the appearance of the TOC from the Table of Contents tab. You may choose a preset design from the Formats drop-down menu. A preview of each design will be shown in the Print Preview window.
  4. Check the Show page numbers box if you would like page numbers to show on the TOC. Check the Right align page numbers box if the page numbers should appear on the right side, then select the Tab leader between the heading and the page number. Uncheck the box if the page numbers should appear right next to the heading.
  5. Click OK.

Macros Table of Contents Web Wizard