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