INVCE.DOT in Word Developer's Kit Displays Incorrect Results

ID: Q115788


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a
  • Microsoft Windows 3.1


SYMPTOMS

The invoice example template (INVCE.DOT) in the Word Developer's Kit displays incorrect results for the Amount field in the third line, the TOTAL field, and the Balance Due field.


CAUSE

These calculation fields contain incorrect cell references.


RESOLUTION

Use the following steps to correct the formulas in the INVCE.DOT template.

  1. Open INVCE.DOT (usually found in the C:\WINWORD\TEMPLATE subdirectory).


  2. From the Tools menu, choose Unprotect Document.


  3. Double-click the third Amount field.


  4. In the Expression field, change A3 to A4. Choose OK.


  5. Double-click the TOTAL field.


  6. In the Expression field, change B10,B11 to B1,B2. Choose OK.


  7. Double-click the Balance Due field.


  8. In the Expression field, change B12 - B13 to B3 - B4.


  9. From the Tools menu, choose Protect Document.


  10. Select the Forms option button and choose OK.


  11. Save and close the template.


Additional query words: 6.0 incorrect wrong error formula field word6 values winword

Keywords : kbtemplate
Version : WINDOWS:3.1,6.0,6.0a
Platform : WINDOWS
Issue type :


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.