Microsoft KB Archive/173287

From BetaArchive Wiki

Article ID: 173287

Article Last Modified on 1/20/2007



APPLIES TO

  • Microsoft Word 98 for Macintosh
  • Microsoft Word 97 Standard Edition
  • Microsoft Word 95 Standard Edition
  • Microsoft Word 95a
  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0 for Macintosh
  • Microsoft Word 6.01 for Macintosh
  • Microsoft Word 6.01 for Macintosh
  • Microsoft Word 2.0 Standard Edition
  • Microsoft Word 2.0a
  • Microsoft Office Word 2003
  • Microsoft Word 2.0c
  • Microsoft Word 6.0 Standard Edition
  • Microsoft Word 6.0a
  • Microsoft Word 6.0c



This article was previously published under Q173287

SUMMARY

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.

MORE INFORMATION

The following are examples of how to use the DollarText field to create bank-style checks:

  • If the amount is known:

    {= 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.
  • If the amount is a variable, you can use either a FILLIN or ASK field, or use a reference to an existing bookmark to enter the amount with the correct format:

    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.


REFERENCES

For more information about the maximum values for field format switches, please see the following article in the Microsoft Knowledge Base:

97591 Maximum Values for Field Format Switches


For more information about number formats, please see the appropriate reference for your version of Word.

Word 97 for Windows or Word 98 Macintosh Edition

Click the Office Assistant, type Dollartext, 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:

120802 Office: How to Add/Remove a Single Office Program or Component


Word 6.0 for Windows or Word for Windows 95, Version 7.0

Click the Index tab in Word Help, type the following text, Number Formats. 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: kbhowto kbfield KB173287