AutoCorrect.OtherCorrectionsExceptions property (Word)

Returns an OtherCorrectionsExceptions collection that represents the list of words that Microsoft Word won't correct automatically.

Syntax

expression. OtherCorrectionsExceptions

expression An expression that returns an 'AutoCorrect' object.

Remarks

This list that this property returns corresponds to the list of AutoCorrect exceptions on the Other Corrections tab in the AutoCorrect Exceptions dialog box.

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

See also

AutoCorrect Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.