共用方式為


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 支援與意見反應