Partager via


Document.ContentControlBeforeContentUpdate Event (Word)

Occurs before updating the content in a content control, only when the content comes from the Office XML data store.

Syntax

Private Sub 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

For information about using events with the Document object, see Using Events with the Document Object.

See Also

Concepts

Document Object Members

Document Object