Field codes: Keywords field

Applies To
Word for Microsoft 365 Word for Microsoft 365 for Mac Word 2024 Word 2024 for Mac Word 2021 Word 2021 for Mac

The Keywords field inserts the contents of the Keywords box on the Summary tab in the Properties dialog box for the active document or template. To view the Properties dialog box, click the File tab, click Info, select Properties (on the right side), and then select Advanced Properties.

Note

This content applies to the desktop versions of Word for Windows and Mac (including Word with a Microsoft 365 subscription). Some features may not be available in Word for the web or mobile apps.

Syntax

When you view the Keywords field code in your document, the syntax looks like this:

{ KEYWORDS ["NewKeywords" ] ⁠}⁠

Note

A field code tells the field what to display. Field results are what is shown in the document after having evaluated the field code. To toggle between viewing the field code and the field code results, press Alt+F9 (or, on a Mac: fn+Option+F9).

Instructions

"NewKeywords"

Optional text that replaces the current contents of the Keywords box in the Properties dialog box. The text can be no longer than 255 characters and must be enclosed in quotation marks.