Application.SpecialMode property (Word)
True if Microsoft Word is in a special mode (for example, CopyText mode, or MoveText mode). Read-only Boolean.
Syntax
expression. SpecialMode
expression An expression that returns an Application object.
Remarks
Word enters a special copy or move mode if you press F2 or SHIFT+F2 while text is selected.
Example
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla