Microsoft Office Online
Sign in to My Office Online (What's this?) | Sign in

 
 
Microsoft Office Word
Search
Search
 
Check for updates: (c) Microsoft
Office downloads
 
 
 
Warning: You are viewing this page with an unsupported Web browser. This Web site works best with Microsoft Internet Explorer 6.0 or later, Firefox 1.5, or Netscape Navigator 8.0 or later. Learn more about supported browsers.

Email this linkEmail this link Printer-Friendly VersionPrinter-Friendly Version Bookmark and ShareShare
Field codes: Quote field
 

{ QUOTE "LiteralText" }

Inserts the specified text into a document.

ShowInstructions

"LiteralText"

Inserted text, which must be enclosed in quotation marks. It can include any other fields except AUTONUM, AUTONUMLGL, AUTONUMOUT, or SYMBOL.

ShowExamples

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 (field results: Text or graphics inserted in a document when Microsoft Word carries out a field's instructions. When you print the document or hide field codes, the field results replace the field codes.). 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"} }

advertisement