Microsoft KB Archive/65718

= Exclamation Marks Not Allowed in Calculated Selection =

Article ID: 65718

Article Last Modified on 11/16/2006

-

APPLIES TO


 * Microsoft Word 1.0 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * Microsoft Word 1.1 Standard Edition
 * 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
 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q65718



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 &quot;!Syntax Error&quot; 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 &quot;!Syntax Error&quot; is still generated if the selection contains an excalamation mark.

