CustomXMLPart.NodeAfterInsert Event
Office Developer Reference |
Occurs after a node is inserted in a CustomXMLPart object.
Note |
---|
References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file. |
Syntax
expression.NodeAfterInsert(NewNode, InUndoRedo)
expression An expression that returns a CustomXMLPart object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
NewNode | Required | CustomXMLNode | Corresponds to the node just added to the CustomXMLPart object. Note that this node may have children, if a subtree was just added to the document. |
InUndoRedo | Required | Boolean | Returns TRUE if the node was inserted as part of an Undo/Redo action by the user. |
Example
The following example displays a message telling the user the results of inserting the node.
Visual Basic for Applications |
---|
|
See Also