Document.ContentControlOnEnter event (Word)
Occurs when a user enters a content control.
Syntax
expression.ContentControlOnEnter'(ContentControl**, )
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 entering. |
Remarks
Important
This event fires only for the content control that you enter and not for parent content controls. For example, if you have a text box content control nested inside a group content control, and you place the cursor inside the text box content control, 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.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin