Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AutoCorrectEmail Property
Collapse the table of content
Expand the table of content

Application.AutoCorrectEmail Property (Word)

Returns an AutoCorrect object that represents automatic corrections made to e-mail messages.

expression .AutoCorrectEmail

expression An expression that returns an Application object.

This example adds AutoCorrect entries for e-mail messages. After this code runs, every instance of "allways," "hte," and "hwen" that's typed in an e-mail message will be replaced with "always," "the," and "when," respectively.

Sub AutoCorrectEMailAddress() 
 With Application.AutoCorrectEmail 
 .Entries.Add Name:="allways", Value:="always" 
 .Entries.Add Name:="hte", Value:="the" 
 .Entries.Add Name:="hwen", Value:="when" 
 End With 
End Sub
Show:
© 2015 Microsoft