HangulAndAlphabetExceptions Property

Microsoft Word Visual Basic

HangulAndAlphabetExceptions Property

       

Returns a HangulAndAlphabetExceptions collection that represents the list of Hangul and alphabet AutoCorrect exceptions. This list corresponds to the list of Hangul and alphabet AutoCorrect exceptions on the Korean tab in the AutoCorrect Exceptions dialog box (on the Tools menu, click AutoCorrect Options, then click the AutoCorrect tab, and then click the Exceptions button).

expression.HangulAndAlphabetExceptions

expression   Required. An expression that returns an AutoCorrect object.

Remarks

For information about returning a single member of a collection, see Returning an Object from a Collection.

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

Example

This example prompts the user to delete or keep each hangul and alphabet AutoCorrect exception on the Korean tab in the AutoCorrect Exceptions dialog box.

For Each anEntry In _
        AutoCorrect.HangulAndAlphabetExceptions
    response = MsgBox("Delete entry: " _
        & anEntry.Name, vbYesNoCancel)
    If response = vbYes Then
        anEntry.Delete
    Else
        If response = vbCancel Then End
    End If
Next anEntry