FirstLetterException 对象 (Word)

代表不应用自动更正的缩写。 FirstLetterExceptions 对象是 FirstLetterExceptions 集合的成员。

备注

FirstLetterExceptions 集合包括所有排除的缩写。当 CorrectSentenceCaps 属性设置为 True 时,句点后面的第一个字符会自动大写。 在 FirstLetterExceptions 集合中的项后键入的字符不会大写。

使用 FirstLetterExceptions (Index) (其中 Index 是缩写或索引号)可返回单个 FirstLetterException 对象。 以下示例从 FirstLetterExceptions 集合中删除缩写“appt.”。

AutoCorrect.FirstLetterExceptions("appt.").Delete

以下示例显示 FirstLetterExceptions 集合中第一项的名称。

MsgBox AutoCorrect.FirstLetterExceptions(1).Name

使用 Add 方法可向首字母异常列表添加缩写。 以下示例在该列表中添加缩写“addr.”。

AutoCorrect.FirstLetterExceptions.Add Name:="addr."

另请参阅

Word 对象模型参考

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。