This documentation is archived and is not being maintained.

Document.ContentControlBeforeContentUpdate Event

Office 2007
Occurs before updating the content in a content control, 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.


NameRequired/OptionalData TypeDescription
ContentControlRequiredContentControlThe content control being updated.
ContentRequiredStringThe updated content for a control. Use this parameter to change the contents of the XML data and format it for display.


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