Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Document.ContentControlBeforeDelete Event

Office 2007
Occurs before removing a content control from a document.

Syntax

Private Sub expression_ContentControlBeforeDelete(OldContentControl, InUndoRedo)

expression   An expression that returns a Document object.

Parameters

NameRequired/OptionalData TypeDescription
OldContentControlRequiredContentControlThe content control being deleted.
InUndoRedoRequiredBoolean Specifies whether the removal 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.




Community Additions

Show:
© 2015 Microsoft