AutoCorrect.TwoInitialCapsExceptions Property (Word)
Returns a TwoInitialCapsExceptions collection that represents the list of terms containing mixed capitalization that Word won't correct automatically.
Syntax
expression .TwoInitialCapsExceptions
expression An expression that returns an AutoCorrect object.
Remarks
This list corresponds to the list of AutoCorrect exceptions on the INitial CAps tab in the AutoCorrect Exceptions dialog box (AutoCorrect Options command, Tools menu). 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 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