共用方式為


Options.AutoFormatAsYouTypeReplacePlainTextEmphasis property property (Word)

如果手動強調字元會自動被字元格式取代,那倒是沒錯。 例如,「粗體」改為「 體」,「底線」改為「底線」。讀寫 布林值

語法

expressionAutoFormatAsYouTypeReplacePlainTextEmphasis

一個代表 Options 物件的變數。

範例

本範例能夠以字元格式設定取代實際輸入的文字強調標記。

Options.AutoFormatAsYouTypeReplacePlainTextEmphasis = True

This example returns the status of the Bold and underline with real formatting option on the AutoFormat As You Type tab in the AutoCorrect dialog box (Tools menu).

Dim blnAutoFormat as Boolean 
 
blnAutoFormat = _ 
 Options.AutoFormatAsYouTypeReplacePlainTextEmphasis

另請參閱

Options 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應