FirstLetterException 对象

         
Application
AutoCorrect
FirstLetterExceptions (FirstLetterException)

代表不用自动更正的缩写。FirstLetterException 对象是 FirstLetterExceptions 集合中的一个元素。FirstLetterExceptions 集合包括所有不用进行自动更正的所有缩写。

注意   如果将 CorrectSentenceCaps 属性设为 True,则句号后的第一个字符将自动大写。但在 FirstLetterExceptions 集合的各项之后键入的字符不会大写。

使用 FirstLetterException 对象

FirstLetterExceptions (index) 可返回单个的 FirstLetterException 对象,其中 index 是缩写或索引序号。下列示例从 FirstLetterExceptions 集合中删除缩写“appt.”。

AutoCorrect.FirstLetterExceptions("appt.").Delete

下列示例显示 FirstLetterExceptions 集合中首项的名称。

MsgBox AutoCorrect.FirstLetterExceptions(1).Name

Add 方法可在首字母例外项的列表中添加一个缩写项。下列示例在该列表中添加缩写“addr.”。

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