Exclamation Marks Not Allowed in Calculated Selection

Last reviewed: July 30, 1997
Article ID: Q65718
The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows

SUMMARY

When using Calculate from the Utilities menu, the selection cannot contain any exclamation marks.

Microsoft Word for Windows uses exclamation marks to indicate errors in its field calculations and returns the message "!Syntax Error" if it finds any exclamation marks in the selection that is being calculated.

To calculate the selection, it is necessary to temporarily remove the exclamation marks before the calculation and replace them after the calculation is complete.

Word for Windows does not have Calculate on the Tools menu. ToolsCalculate is still a Word command which can be assigned to a menu or toolbar. A "!Syntax Error" is still generated if the selection contains an excalamation mark.

REFERENCES

"Microsoft Word for Windows User's Reference" pages 27, 383.


KBCategory: kbusage
KBSubcategory: kbfield
Additional query words: 1.x 2.0 2.0a word6 7.0 word95 winword
word7 winword 2.0a-CD 2.0b 2.0c 6.0 6.0a 6.0c winword2 word97


Keywords : kbfield
Version : 1.x 2.x 6.0 6.0a 6.0c 7.0 7.
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: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.