Microsoft KB Archive/59246

{| = Excel: Example of HALT Command Is Incorrect =
 * width="100%"|

Last reviewed: November 2, 1994

Article ID: Q59246

SUMMARY
The example of the HALT command on page 242 in the &quot;Microsoft Excel Functions and Macros&quot; version 2.2 manual contains an error.

The example incorrectly reads as follows:

IF(ISERROR(A1),HALTGOTO(D4)) There should be a comma between &quot;HALT&quot; and &quot;GOTO(D4)&quot;. The IF statement contains three parameters: the conditional, the value-if-true, and the value-if-false. For more information on the IF statement, see page 43 in the &quot;Microsoft Excel Functions and Macros&quot; version 2.2 manual.
 * }