Options.AutoFormatAsYouTypeReplacePlainTextEmphasis プロパティ (Word)

入力時に手動強調文字が文字書式に自動的に置き換えられる場合は true。 たとえば、"bold" は " bold "に変更され、"underline" は "underline" に変更されます。読み取り/書き込み ブール値

構文

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

関連項目

オプション オブジェクト

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。