inserting table of contents in a word document code example Example: insert contents page word It's in References > Table of Contents in the ribbon