OtherCorrectionsExceptions Property 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