Video thumbnail for Complete List of Field Codes in Word and How to Use Them

Complete List of Field Codes in Word and How to Use Them

Dec 5, 2026

gekbuzz.com

If you’re working with Microsoft Word, understanding field codes can significantly enhance your document automation and customization. The DATE field inserts the current date into your document and updates automatically each time you open or print the file. The PAGE field displays the current page number in your document, which is essential for multi-page reports or books. The NUMPAGES field shows the total number of pages in your document. The REF field references a bookmarked location within the document. The HYPERLINK field creates clickable links within your document, which can link to web pages, email addresses, or locations within the same document. The IF field performs conditional logic, displaying different content based on specified criteria. The INCLUDETEXT field inserts the contents of another document into your current Word file. The MERGEFIELD is central to mail merge operations, pulling data from a data source like Excel or Access into your Word document.