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

The Quote field inserts the specified text into a document.

Syntax

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

{ QUOTE "LiteralText" }

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

"LiteralText"

Inserted text, which must be enclosed in quotation marks. It can include any other fields except AutoNum, AutoNumLgl, AutoNumOut, or Symbol.

Example

The following Quote field, with nested If, = (Formula), and Date fields, produces the name of the previous month. For example, if the current month is February, "January" is the field result. This is useful for reports (such as sales reports) written after the fact.

{ QUOTE { IF { DATE \@ "M" } = 1 "12" "{= { DATE \@ "M" } -1 }/1/03" \@ "MMMM"} }

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.