TwoInitialCapsExceptions Property Example

This example prompts the user to delete or keep each AutoCorrect Initial Caps exception.

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