Document.ContentControlAfterAdd event (Word)

Occurs after adding a content control to a document.

Syntax

expression.ContentControlAfterAdd'(NewContentControl**, InUndoRedo)

expression An expression that returns a Document object.

Parameters

Name Required/Optional Data type Description
NewContentControl Required ContentControl The content control being added.
InUndoRedo Required Boolean Specifies whether the addition is taking place as part an undo or redo action.

Remarks

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

See also

Document Object

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.