Application.AutoCorrectEmail property (Word)
Returns an AutoCorrect object that represents automatic corrections made to email messages.
Syntax
expression. AutoCorrectEmail
expression An expression that returns an Application object.
Example
This example adds AutoCorrect entries for email messages. After this code runs, every instance of "allways," "hte," and "hwen" that's typed in an email 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
See also
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.
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk