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.

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.

Note 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.

Show:
© 2014 Microsoft