Share via


OtherCorrectionsExceptions Property

OtherCorrectionsExceptions Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Returns an OtherCorrectionsExceptions collection that represents the list of words that Microsoft Word won't correct automatically. This list corresponds to the list of AutoCorrect exceptions on the Other Corrections tab in the AutoCorrect Exceptions dialog box (AutoCorrect command, Tools menu).

expression.OtherCorrectionsExceptions

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.

Example

This example prompts the user to delete or keep each AutoCorrect exception on the Other Corrections tab in the AutoCorrect Exceptions dialog box.

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