HangulAndAlphabetExceptions.Add Method

Word Developer Reference

Returns a HangulAndAlphabetException object that represents a new exception to the list of AutoCorrect exceptions.

Syntax

expression.Add(Name)

expression   Required. A variable that represents a HangulAndAlphabetExceptions collection.

Parameters

Name Required/Optional Data Type Description
Name Required String The word that you don't want Microsoft Word to correct automatically.

Return Value
HangulAndAlphabetException

Remarks

If the HangulAndAlphabetAutoAdd property is set to True, words are automatically added to the list of hangul and alphabet AutoCorrect exceptions.

For more information on using Word with East Asian languages, see Word features for East Asian languages .

Example

This example adds test to the list of hangul and alphabet AutoCorrect exceptions on the Korean tab in the AutoCorrect Exceptions dialog box.

Visual Basic for Applications
  AutoCorrect.HangulAndAlphabetExceptions.Add Name:="test"

See Also