HangulAndAlphabetException object (Word)

Represents a single Hangul or alphabet AutoCorrect exception. The HangulAndAlphabetException object is a member of the HangulAndAlphabetExceptions collection.

Remarks

Use HangulAndAlphabetExceptions (Index), where Index is the Hangul or alphabet AutoCorrect exception name or the index number, to return a single HangulAndAlphabetException object. The following example deletes the alphabet AutoCorrect exception named "hello."

AutoCorrect.HangulAndAlphabetExceptions("hello").Delete

The index number represents the position of the Hangul or alphabet AutoCorrect exception in the HangulAndAlphabetExceptions collection. The following example displays the name of the first item in the HangulAndAlphabetExceptions collection.

MsgBox AutoCorrect.HangulAndAlphabetExceptions(1).Name

If the value of the HangulAndAlphabetAutoAdd property is True, words are automatically added to the list of Hangul and alphabet AutoCorrect exceptions. Use the Add method to add an item to the HangulAndAlphabetExceptions collection. The following example adds "goodbye" to the list of alphabet AutoCorrect exceptions.

AutoCorrect.HangulAndAlphabetExceptions.Add Name:="goodbye"

Note

The HangulAndAlphabetExceptions collection includes all Hangul and alphabet AutoCorrect exceptions and corresponds to the items listed on the Korean tab in the AutoCorrect Exceptions dialog box.

See also

Word Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.