how to insert table of contents word 2020 code example Example: insert contents page word It's in References > Table of Contents in the ribbon