Table of contents
TOC
Collapse the table of content
Expand the table of content

CustomXMLPart.NodeAfterInsert Event (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Occurs after a node is inserted in a CustomXMLPart object.

Syntax

expression. NodeAfterInsert( NewNode, InUndoRedo )

expression An expression that returns a CustomXMLPart object.

Parameters

NameRequired/OptionalData TypeDescription
NewNodeRequiredCustomXMLNodeCorresponds 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.
InUndoRedoRequiredBooleanReturns 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.

Sub CustomXMLParts_NodeAfterInsert(newNode As CustomXMLNode, boolInUndoRedo As Boolean) 
   MsgBox ("The node " & newNode.BaseName & " was just inserted.") 
End Sub

See also

Concepts

CustomXMLPart Object

Other resources

CustomXMLPart Object Members

© 2018 Microsoft