Applies ToWord for Microsoft 365 Word for Microsoft 365 for Mac Word 2021 Word 2021 for Mac Word 2019 Word 2019 for Mac Word 2016

The Subject field inserts the contents of the Subject box from the Properties dialog box. To view the Properties dialog box, click the File tab, click Info, click Properties (below the document preview on the right side), click Advanced Properties, and then click the Summary tab.

Syntax

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

{ SUBJECT ["NewSubject"] }

Note:  A field code tells the field what to show. Field results are what’s 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.

Instructions

"NewSubject"

Optional text that replaces the subject text in the Properties dialog box for the active document or template. The name can be no longer than 255 characters and must be enclosed in quotation marks.

Example

The following field uses the FillIn field to prompt for the subject text. The response entered is printed in the document and is added to the Subject box in the Properties dialog box:

{ SUBJECT " { FILLIN "What is the subject of this document?" }" }

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.