代表從自動校正中排除的縮寫。 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."
請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。