Document.ContentControlOnExit event (Word)
Occurs when a user leaves a content control.
Syntax
expression.ContentControlOnExit'(ContentControl**, Cancel)
expression An expression that returns a Document object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
ContentControl | Required | ContentControl | The content control that the user is leaving. |
Cancel | Required | Boolean | Specifies whether to cancel the event. True cancels the event and does not allow the user to leave the control. |
Remarks
Important
This event fires only for the content control that you exit and not for parent content controls. For example, if you have a text box content control nested inside a group content control, and you move the cursor from inside the text box content control and into another place in the document, this event fires only once for the text box content control; it does not fire for the parent group content control.
For information about using events with the Document object, see Using events with the Document object.
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.
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기