Document.ContentControlBeforeDelete event (Word)
Occurs before removing a content control from a document.
Syntax
expression.ContentControlBeforeDelete'(OldContentControl**, InUndoRedo)
expression An expression that returns a Document object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
OldContentControl | Required | ContentControl | The content control being deleted. |
InUndoRedo | Required | Boolean | 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.
See also
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.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro