Document.ContentControlBeforeContentUpdate event (Word)
Occurs before updating the content in a content control, but only when the content comes from the Office XML data store.
Syntax
expression.ContentControlBeforeContentUpdate'(ContentControl**, Content)
expression An expression that returns a Document object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
ContentControl | Required | ContentControl | The content control being updated. |
Content | Required | String | The updated content for a control. Use this parameter to change the contents of the XML data and format it for display. |
Remarks
Note
This event does not occur for repeating content controls.
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.