Application.SpecialMode プロパティ (Word)

True の 場合 (CopyText モードや MoveText モードなどの) 特別なモードでは、Microsoft Word。 読み取り専用の Boolean です。

構文

SpecialMode

Application オブジェクトを返す式。

注釈

文字列を選択して F2 キーを押すと MoveText モードになり、Shift キーを押しながら F2 キーを押すと CopyText モードになります。

This example checks to see whether Word is in a special mode. If it is, ESC is activated before the current selection is deleted and pasted.

If Application.SpecialMode = True Then SendKeys "ESC" 
With Selection 
 .Cut 
 .EndKey Unit:=wdStory 
 .Paste 
End With

関連項目

Application オブジェクト

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

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