IsAutoCorrectException()

Syntax

IsAutoCorrectException(Tab, Exception$)

Remarks

Returns a value indicating whether Exception$ appears in the list of of AutoCorrect exceptions on the specified tab in the AutoCorrect Exceptions dialog box (AutoCorrect command, Tools Menu). In Word version 6.0, IsAutoCorrectException() is unavailable and generates an error.

Argument

Explanation

Tab

The tab where Word looks for Exception$:

0 (zero) First Letter

1 INitial CAps

Exception$

The text to find as an entry on the specified tab.


The IsAutoCorrectException() function returns the following values.

Value

Explanation

-1

Exception$ is an exception list entry.

0

Exception$ is not an exception list entry.


See Also

CountAutoCorrectExceptions(), GetAutoCorrectException$(), ToolsAutoCorrectExceptions