ID: Q173287
The information in this article applies to:
This article describes how to use the DollarText field switch in a Microsoft Word field code to spell out a dollar value alphabetically. By converting numeric data to cardinal text, this field switch is useful for creating a bank-style check.
For example, if you use the DollarText field switch, Word converts the number 5,245.25 to Five Thousand Two hundred Forty Five AND 25/100.
NOTE: There is a limit of six-digits that can be represented by the DollarText switch--Word can spell out the dollar amount up to $999,999.99.
The following are examples of how to use the DollarText field to create bank-style checks:
{= 5,245.25 \*DOLLARTEXT \*upper}
NOTE: To insert a field in a document, you can use either the Insert Field command or press ALT+F9 (Command+F9 on the Macintosh) to insert the special field brackets.
FILLIN:
{Fillin "Fill in the Total Amount" \*DOLLARTEXT \*upper}
-or-
ASK:
{Ask Total "What is the total?"}
{REF TOTAL \*Dollartext \*upper}
EXISTING BOOKMARK:
{REF TOTAL \*Dollartext \*upper}, Where TOTAL is a bookmark
representing a total field in an invoice, and so on.
For more information about the maximum values for field format switches, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q97591
TITLE : Maximum Values for Field Format Switches
For more information about number formats, please see the appropriate
reference for your version of Word.
Click the Office Assistant, type "Dollartext," (without the quotation marks), click Search, and then click to view the "General Switches" topic. Click the double arrow at the "Format (\*)" paragraph. Click the double arrow at Number Formats.
NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q120802
TITLE : Office: How to Add/Remove a Single Office
Program or Component
Click the Index tab in Word Help, type the following text, "Number Formats" (without the quotation marks). Double-click Number Formats. Double-click General Switches. Click the double arrow at the "Format (\*)" paragraph. Click the double arrow at Number Formats.
Additional query words: kbhowto kbref 8.0 8.00 macword98
Keywords : kbfield
Version : MACINTOSH:6.0,6.0.1,6.0.1a; WINDOWS:2.0,2.0a,2.0a- CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a,97; WINDOWS NT:6.0
Platform : MACINTOSH NT WINDOWS
Issue type : kbhowto
Last Reviewed: February 12, 1999