Class HangulAndAlphabetException (Word VBA)
The class HangulAndAlphabetException represents a single Hangul or alphabet AutoCorrect exception. The HangulAndAlphabetException object is a member of the HangulAndAlphabetExceptions collection. To use a HangulAndAlphabetException class variable it first needs to be instantiated, for example
Dim haa as HangulAndAlphabetException
Set haa = AutoCorrect.HangulAndAlphabetExceptions(Index:=1)
For Each
Here is an example of processing the HangulAndAlphabetException items in a collection.
Dim haa As HangulAndAlphabetException
For Each haa In AutoCorrect.HangulAndAlphabetExceptions
Next haa
Delete
Deletes the specified exception.
AutoCorrect.HangulAndAlphabetExceptions(1).Delete
Index
Returns a Long that represents the position of an item in a collection.
Dim lngIndex As Long
lngIndex = AutoCorrect.HangulAndAlphabetExceptions(1).Index
Name
Returns the name of the specified object.
Dim strName As String
strName = AutoCorrect.HangulAndAlphabetExceptions(1).Name