共用方式為


Word) (FirstLetterException 物件

代表從自動校正中排除的縮寫。 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 支援與意見反應