How to Modify INVOICE.DOT to Display Blank Form Field Results

Last reviewed: February 5, 1998
Article ID: Q119632
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a
  • Microsoft Windows operating system version 3.1

SUMMARY

This article describes how to modify the INVOICE.DOT template to display a blank in a form field instead of a 0 (zero).

MORE INFORMATION

  1. Open INVOICE.DOT. This file can be found in the <WINWORD>\TEMPLATE subdirectory.

  2. Unprotect the form. To do this, choose Unprotect Document from the Tools menu.

  3. In the Amount column, double-click one of the fields that you want to change. In the Text Form Field Options dialog box, add a semicolon to the end of the expression in the Number Format box and choose the OK button.

    The formula should now look like this:

          $#,##0.0;($#,##0.0);
    

  4. Protect the document. To do this, choose Protect Document from the Tools menu. In the Protect Document dialog box, choose Forms and choose the OK button.


KBCategory: kbusage kbhowto
KBSubcategory: kbtemplate
Additional reference words: 6.0 6.0a expression number format word6
blank blanks zero nothing invoice invoice.dot winword
Keywords : kbtemplate
Version : 6.0 6.0a
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.